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 CopyUsingClone_H |
2 | #define CopyUsingClone_H |
3 | |
4 | /** A policy definition class for ProxyBase. |
5 | * The reference counted object is copied using it's clone() |
6 | * virtual copy constructor. |
7 | */ |
8 | |
9 | template <class T> |
10 | class CopyUsingClone { |
11 | public: |
12 | T* clone( const T& value) { return value.clone();} |
13 | }; |
14 | |
15 | #endif // CopyUsingClone_H |
16 |