~ubuntu-branches/ubuntu/gutsy/poco/gutsy

« back to all changes in this revision

Viewing changes to CppUnit/include/CppUnit/Guards.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Burghardt
  • Date: 2007-04-27 18:33:48 UTC
  • Revision ID: james.westby@ubuntu.com-20070427183348-xgnpct0qd6a2ip34
Tags: upstream-1.2.9
ImportĀ upstreamĀ versionĀ 1.2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// Guards.h
 
3
//
 
4
// $Id: //poco/1.2/CppUnit/include/CppUnit/Guards.h#1 $
 
5
//
 
6
 
 
7
 
 
8
#ifndef CppUnit_Guards_INCLUDED
 
9
#define CppUnit_Guards_INCLUDED
 
10
 
 
11
 
 
12
// Prevent copy construction and assignment for a class
 
13
#define REFERENCEOBJECT(className) \
 
14
private: \
 
15
        className(const className& other); \
 
16
        className& operator = (const className& other);
 
17
 
 
18
 
 
19
#endif // CppUnit_Guards_INCLUDED