Changeset 265
- Timestamp:
- Dec 6, 2002, 6:15:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/libp++/pxx_common.hh
r261 r265 78 78 } 79 79 80 #define NO_COPY_CTOR(cls) \ 81 cls () \ 82 { \ 83 FATAL("Copy constructor is not allowed for this class"); \ 84 } 85 86 #define NO_ASSIGN(cls) \ 87 cls& operator = (cls const&) \ 88 { \ 89 FATAL("Assignment is not allowed for this class"); \ 90 return self; \ 91 } 92 80 93 extern unsigned debug_level ; 81 94
Note: See TracChangeset
for help on using the changeset viewer.