15 #ifndef Om_DefaultCopyable_
17 #define Om_DefaultCopyable_ \
31 typename ThisImplementation,
32 typename ThisInterface = Copyable
35 public ThisInterface {
37 template <
typename TheCopyable>
38 friend std::auto_ptr<TheCopyable>
Copy(TheCopyable
const &);
48 virtual std::auto_ptr<Copyable>
Copy()
const;
A partial implementation of Copyable.
DefaultCopyable & operator=(DefaultCopyable const &)
virtual std::auto_ptr< Copyable > Copy() const
friend std::auto_ptr< TheCopyable > Copy(TheCopyable const &)
virtual ~DefaultCopyable()=0