Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
boost::contract::old_pointer — Convert old value copies into old value pointers.
// In header: <boost/contract/old.hpp> class old_pointer { public: // public member functions template<typename T> operator old_ptr_if_copyable< T >(); template<typename T> operator old_ptr< T >(); };
This class is usually only implicitly used by this library and it does not explicitly appear in user code (that is why this class does not have public constructors, etc.).
old_pointer public member functionstemplate<typename T> operator old_ptr_if_copyable< T >();Convert this object to an actual old value pointer for which the old value type
T might or not be copyable. For example, this is implicitly called when assigning or initializing old value pointers of type boost::contract::old_ptr_if_copyable.
Template Parameters: |
|
template<typename T> operator old_ptr< T >();Convert this object to an actual old value pointer for which the old value type
T must be copyable. For example, this is implicitly called when assigning or initializing old value pointers of type boost::contract::old_ptr.
Template Parameters: |
|