Giri's C++ Support Library
C++ library providing everything you need to quickly create awesome applications.
PassKey.h
Go to the documentation of this file.
1 
10 #ifndef SUPPORTLIB_PASSKEY_H
11 #define SUPPORTLIB_PASSKEY_H
12 #include "Object.h"
13 namespace giri {
75  template <typename T>
76  class Key : public Object< Key<T> > {
77  friend T;
78  Key() {};
79  Key(const Key&) = default;
80  Key& operator=(const Key&) = delete;
81  };
82 }
83 #endif //SUPPORTLIB_PASSKEY_H
Base class of all classes.
Key class implementing passkey idiom.
Definition: PassKey.h:76
Base Class of all classes.
Definition: Object.h:33
Namespace for giri's C++ support library.
Definition: Base64.h:47