CMS 3D CMS Logo

c++11Tmpl.h
Go to the documentation of this file.
1 #ifndef __class_____class___h
2 #define __class_____class___h
3 // -*- C++ -*-
4 /*
5 Class : __class__
6 Created by : __author__ on __date__
7 Description:
8 Parameters :
9 Returns :
10 Throws :
11 */
12 
13 template <typename T>
14 class __class__ {
15  // ---------- friend classes and functions ---------------
16 public:
17  // ---------- constants, enums and typedefs --------------
18 
19  // ---------- Constructors and destructor ----------------
20  __class__();
21  virtual ~__class__();
22 
23  // ---------- member functions ---------------------------
24 
25  // ---------- const member functions ---------------------
26 
27  // ---------- static member functions --------------------
28 
29 protected:
30  // ---------- protected member functions -----------------
31 
32  // ---------- protected const member functions -----------
33 
34 private:
35  // ---------- Constructors and destructor ----------------
36  __class__( const __class__<T>& src ); // copy-ctor
37  // __class__(const __class__<T>&) = delete; // stop default
38  __class__( __class__<T>&& src ); // move-ctor
39 
40  // ---------- assignment operator(s) ---------------------
41  const __class__<T>& operator=( const __class__<T>& rhs ); // copy assignment oper
42  // const __class__<T>& operator=(const __class__<T>&) = delete; // stop default
43  __class__<T>& operator=( __class__<T>&& rhs ); // move assignment oper
44 
45  // ---------- private member functions -------------------
46 
47  // ---------- private const member functions -------------
48 
49  // ---------- data members -------------------------------
50 
51  // ---------- static data members ------------------------
52 };
53 
54 // c++11 requires that your template implementation should be in a header file
55 // to do so we include here implementation file (__class__inl).
56 #include "__class__.inl"
57 #endif
__class__()
Definition: Skeleton.cc:30
const __class__ & operator=(const __class__ &rhs)
virtual ~__class__()
Definition: EDAnalyzer.cc:89