PrevUpHomeNext

Struct template copied

impl_ptr_policy::copied

Synopsis

// In header: <detail/copied.hpp>

template<typename impl_type, typename allocator> 
struct copied {
  // types
  typedef copied                                           this_type;  
  typedef detail::traits::copyable< impl_type, allocator > traits_type;
  typedef typename traits_type::pointer                    traits_ptr; 

  // construct/copy/destruct
  template<typename... arg_types> 
    copied(detail::in_place_type, arg_types &&...);
  copied(std::nullptr_t);
  copied(impl_type *);
  copied(this_type &&);
  copied(this_type const &);
  this_type & operator=(this_type &&);
  this_type & operator=(this_type const &);
  ~copied();

  // public member functions
  template<typename derived_type, typename... arg_types> 
    void emplace(arg_types &&...);
  bool operator<(this_type const &) const;
  void swap(this_type &);
  impl_type * get() const;
  long use_count() const;
};

Description

copied public construct/copy/destruct

  1. template<typename... arg_types> 
      copied(detail::in_place_type, arg_types &&... args);
  2. copied(std::nullptr_t);
  3. copied(impl_type * p);
  4. copied(this_type && o);
  5. copied(this_type const & o);
  6. this_type & operator=(this_type && o);
  7. this_type & operator=(this_type const & o);
  8. ~copied();

copied public member functions

  1. template<typename derived_type, typename... arg_types> 
      void emplace(arg_types &&... args);
  2. bool operator<(this_type const & o) const;
  3. void swap(this_type & o);
  4. impl_type * get() const;
  5. long use_count() const;

PrevUpHomeNext