/[escript]/trunk/esys2/tools/CppUnitTest/inc/CppUnitTest/Guards.h
ViewVC logotype

Contents of /trunk/esys2/tools/CppUnitTest/inc/CppUnitTest/Guards.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations)
Tue Oct 26 06:53:54 2004 UTC (16 years, 2 months ago) by jgs
File MIME type: text/plain
File size: 269 byte(s)
Initial revision

1
2 #ifndef CPPUNIT_GUARDS_H
3 #define CPPUNIT_GUARDS_H
4
5 // Prevent copy construction and assignment for a class
6 #define REFERENCEOBJECT(className) \
7 private: \
8 className (const className& other); \
9 className& operator= (const className& other);
10
11 #endif

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26