17 #define Om_Copyable_ \
20 #ifndef Om_Macro_Precompilation_
36 template <
typename TheCopyable>
37 friend std::auto_ptr<TheCopyable>
Copy(TheCopyable
const &);
47 virtual std::auto_ptr<Copyable>
Copy()
const = 0;
61 template <
typename TheCopyable>
62 std::auto_ptr<TheCopyable>
Copy(TheCopyable
const &);
An object that can be passed to Copy to be copied.
friend std::auto_ptr< TheCopyable > Copy(TheCopyable const &)
virtual std::auto_ptr< Copyable > Copy() const =0
Copyable & operator=(Copyable const &)
std::auto_ptr< TheCopyable > Copy(TheCopyable const &)