File: util.hpp

package info (click to toggle)
mariadb 1%3A11.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 782,976 kB
  • sloc: ansic: 2,464,174; cpp: 1,797,828; asm: 481,756; perl: 64,071; sh: 51,032; pascal: 40,908; java: 39,363; python: 26,425; yacc: 20,460; sql: 17,907; xml: 12,354; ruby: 8,662; makefile: 6,785; cs: 6,596; ada: 1,891; lex: 1,194; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (25 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

// vim:sw=2:ai

/*
 * Copyright (C) 2010 DeNA Co.,Ltd.. All rights reserved.
 * See COPYRIGHT.txt for details.
 */

#ifndef DENA_UTIL_HPP
#define DENA_UTIL_HPP

namespace dena {

/* boost::noncopyable */
struct noncopyable {
  noncopyable() = default;
 private:
  noncopyable(const noncopyable&);
  noncopyable& operator =(const noncopyable&);
};

};

#endif