copy_on_write.hpp
Go to the documentation of this file.
7 /**************************************************************************************************/
12 /**************************************************************************************************/
30 /**************************************************************************************************/
34 /**************************************************************************************************/
38 /**************************************************************************************************/
82 typedef typename allocator_type::template rebind<implementation_t>::other implementation_allocator_type;
353 /**************************************************************************************************/
357 /**************************************************************************************************/
408 /**************************************************************************************************/
412 /**************************************************************************************************/
416 /**************************************************************************************************/
418 template <typename T, typename A> struct is_movable<copy_on_write<T, A> > : boost::mpl::true_ { };
420 /**************************************************************************************************/
424 /**************************************************************************************************/
426 ADOBE_NAME_TYPE_1("copy_on_write:version_1:adobe", adobe::version_1::copy_on_write<T0, adobe::capture_allocator<T0> >)
429 /**************************************************************************************************/
433 /**************************************************************************************************/
friend void swap(copy_on_write &x, copy_on_write &y) Definition: copy_on_write.hpp:250 copy_on_write(const allocator_type &a) Definition: copy_on_write.hpp:101 BOOST_STATIC_ASSERT(sizeof(string_t)==sizeof(vector< char >)) copy_on_write & operator=(T x) Definition: copy_on_write.hpp:151 const value_type * operator->() const Obtain a const pointer to the underlying object. Definition: copy_on_write.hpp:227 bool identity(const copy_on_write &x) const identity is used to see if two copy_on_write items refer to the same instance. Definition: copy_on_write.hpp:247 copy_on_write(const copy_on_write &x) Definition: copy_on_write.hpp:124 friend bool operator>=(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:262 allocator_type get_allocator() const Definition: copy_on_write.hpp:271 const value_type & read() const Obtain a const reference to the underlying object. Definition: copy_on_write.hpp:190 friend bool operator!=(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:268 friend bool operator>(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:256 copy_on_write(move_from< copy_on_write > x) Definition: copy_on_write.hpp:131 Definition: functional.hpp:26 The is_movable trait can be used to identify movable types. Definition: move.hpp:317 const value_type & operator*() const Obtain a const reference to the underlying object. Definition: copy_on_write.hpp:214 copy_on_write & operator=(copy_on_write x) Definition: copy_on_write.hpp:147 ADOBE_NAME_TYPE_2("closed_hash_map:version_1:adobe", adobe::version_1::closed_hash_map< T0, T1, boost::hash< T0 >, std::equal_to< T0 >, adobe::capture_allocator< adobe::pair< T0, T1 > > >) copy_on_write(T x) Constructs a new copy_on_write object with a value x. Definition: copy_on_write.hpp:116 A copy-on-write wrapper for any model of Regular. Definition: copy_on_write.hpp:71 friend bool operator<(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:253 friend bool operator==(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:265 friend bool operator<=(const copy_on_write &x, const copy_on_write &y) Definition: copy_on_write.hpp:259 bool unique_instance() const unique_instance returns whether or not the reference count to the object instance is one... Definition: copy_on_write.hpp:237 |