Revision: | 1.1 |
Committed: | Fri Nov 25 16:38:26 2011 UTC (13 years, 5 months ago) by econte |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | TBD2011, TBD_2011, HEAD |
Log Message: | new IPHC alignment |
# | Content |
---|---|
1 | #ifndef CopyUsingNew_H |
2 | #define CopyUsingNew_H |
3 | |
4 | /** A policy definition class for ProxyBase. |
5 | * The reference counted object is copied using "new". |
6 | */ |
7 | |
8 | template <class T> |
9 | class CopyUsingNew { |
10 | public: |
11 | T* clone( const T& value) { return new T(value);} |
12 | }; |
13 | |
14 | #endif // CopyUsingNew_H |
15 |