1234567891011121314151617181920212223242526272829303132 |
- #ifndef __NONCOPYAPLE_HPP_
- #define __NONCOPYAPLE_HPP_
- #include <iostream>
- namespace gsd
- {
- /**
- * @brief NonCopyAble
- *
- */
- class NonCopyAble
- {
- protected:
- NonCopyAble(){}
- ~NonCopyAble(){}
- private:
- NonCopyAble(const NonCopyAble& thiz) = delete;
- NonCopyAble(NonCopyAble &&thiz) = delete;
- NonCopyAble& operator=(const NonCopyAble& thiz) = delete;
- NonCopyAble& operator=(NonCopyAble&& thiz) = delete;
- };
- } // namespace gsd
- #endif
|