|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.41
|
cloning proxy to an underlying object More...
#include <ql/utilities/clone.hpp>
Related Symbols | |
(Note that these are not member symbols.) | |
| template<class T> | |
| void | swap (Clone< T > &, Clone< T > &) noexcept |
cloning proxy to an underlying object
When copied, this class will make a clone of its underlying object, which must provide a clone() method returning a std::auto_ptr (or a std::unique_ptr, depending on your configuration) to a newly-allocated instance.