Classes | |
struct | default_delete |
The class template default_delete serves as the default deleter (destruction policy) for the class template unique_ptr . More... | |
class | unique_ptr |
A unique pointer is an object that owns another object and manages that other object through a pointer. More... | |
Functions | |
template<class T , class... Args> | |
BOOST_MOVE_DOC1ST (unique_ptr< T >, typename::boost::move_upmu::unique_ptr_if< T >::t_is_not_array) make_unique(BOOST_FWD_REF(Args)...args) | |
Remarks: This function shall not participate in overload resolution unless T is not an array. More... | |
template<class T > | |
BOOST_MOVE_DOC1ST (unique_ptr< T >, typename::boost::move_upmu::unique_ptr_if< T >::t_is_not_array) make_unique_definit() | |
Remarks: This function shall not participate in overload resolution unless T is not an array. More... | |
template<class T > | |
BOOST_MOVE_DOC1ST (unique_ptr< T >, typename::boost::move_upmu::unique_ptr_if< T >::t_is_array_of_unknown_bound) make_unique(std | |
Remarks: This function shall not participate in overload resolution unless T is an array of unknown bound. More... | |
template<class T , class... Args> | |
BOOST_MOVE_DOC1ST (unspecified, typename::boost::move_upmu::unique_ptr_if< T >::t_is_array_of_known_bound) make_unique(BOOST_FWD_REF(Args)...)=delete | |
Remarks: This function shall not participate in overload resolution unless T is an array of known bound. More... | |
template<class T , class D > | |
void | swap (unique_ptr< T, D > &x, unique_ptr< T, D > &y) BOOST_NOEXCEPT |
Effects: Calls x.swap(y) . More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator== (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns: x.get() == y.get() . More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator!= (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns: x.get() != y.get() . More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator< (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns: x.get() < y.get(). More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator<= (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns: !(y < x). More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator> (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns: y < x. More... | |
template<class T1 , class D1 , class T2 , class D2 > | |
bool | operator>= (const unique_ptr< T1, D1 > &x, const unique_ptr< T2, D2 > &y) |
Returns:!(x < y). More... | |
template<class T , class D > | |
bool | operator== (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) BOOST_NOEXCEPT |
Returns:!x. More... | |
template<class T , class D > | |
bool | operator== (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) BOOST_NOEXCEPT |
Returns:!x. More... | |
template<class T , class D > | |
bool | operator!= (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) BOOST_NOEXCEPT |
Returns: (bool)x. More... | |
template<class T , class D > | |
bool | operator!= (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) BOOST_NOEXCEPT |
Returns: (bool)x. More... | |
template<class T , class D > | |
bool | operator< (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) |
Requires: operator shall induce a strict weak ordering on unique_ptr<T, D>::pointer values. More... | |
template<class T , class D > | |
bool | operator< (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) |
Requires: operator shall induce a strict weak ordering on unique_ptr<T, D>::pointer values. More... | |
template<class T , class D > | |
bool | operator> (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) |
Returns: nullptr < x . More... | |
template<class T , class D > | |
bool | operator> (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) |
Returns: x < nullptr . More... | |
template<class T , class D > | |
bool | operator<= (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) |
Returns: !(nullptr < x) . More... | |
template<class T , class D > | |
bool | operator<= (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) |
Returns: !(x < nullptr) . More... | |
template<class T , class D > | |
bool | operator>= (const unique_ptr< T, D > &x, BOOST_MOVE_DOC0PTR(bmupd::nullptr_type)) |
Returns: !(x < nullptr) . More... | |
template<class T , class D > | |
bool | operator>= (BOOST_MOVE_DOC0PTR(bmupd::nullptr_type), const unique_ptr< T, D > &x) |
Returns: !(nullptr < x) . More... | |
|
inline |
Remarks: This function shall not participate in overload resolution unless T is not an array.
Returns: unique_ptr<T>(new T(std::forward<Args>(args)...))
.
Returns: unique_ptr<T>(new T(std::nothrow)(std::forward<Args>(args)...))
.
References T.
|
inline |
Remarks: This function shall not participate in overload resolution unless T is not an array.
Returns: unique_ptr<T>(new T)
(default initialization)
Returns: unique_ptr<T>(new T(std::nothrow)
(default initialization)
References T.
|
inline |
Remarks: This function shall not participate in overload resolution unless T is an array of unknown bound.
Returns: unique_ptr<T>(new remove_extent_t<T>[n]())
(value initialization)
Returns: unique_ptr<T>(new (std::nothrow)remove_extent_t<T>[n]())
(value initialization)
Returns: unique_ptr<T>(new remove_extent_t<T>[n])
(default initialization)
Returns: unique_ptr<T>(new (std::nothrow)remove_extent_t<T>[n])
(default initialization)
References boost::n, and boost::detail::type.
|
inlinedelete |
Remarks: This function shall not participate in overload resolution unless T is an array of known bound.
|
inline |
Returns: x.get() != y.get()
.
|
inline |
Returns: (bool)x.
References boost::flyweights::x.
|
inline |
Returns: (bool)x.
References boost::flyweights::x.
|
inline |
Returns: x.get() < y.get().
Remarks: This comparison shall induce a strict weak ordering betwen pointers.
References boost::polygon::y().
|
inline |
Requires: operator
shall induce a strict weak ordering on unique_ptr<T, D>::pointer values.
Returns: Returns x.get() < pointer()
.
|
inline |
Requires: operator
shall induce a strict weak ordering on unique_ptr<T, D>::pointer values.
Returns: Returns pointer() < x.get()
.
|
inline |
Returns: !(y < x).
References boost::flyweights::x, and boost::polygon::y().
|
inline |
Returns: !(nullptr < x)
.
References boost::move_upd::nullptr_type, and boost::flyweights::x.
|
inline |
Returns: !(x < nullptr)
.
References boost::move_upd::nullptr_type.
|
inline |
Returns: x.get() == y.get()
.
|
inline |
Returns:!x.
References boost::flyweights::x.
|
inline |
Returns:!x.
References boost::flyweights::x.
|
inline |
Returns: y < x.
References boost::flyweights::x.
|
inline |
Returns: nullptr < x
.
|
inline |
Returns: x < nullptr
.
|
inline |
Returns:!(x < y).
References boost::polygon::y().
|
inline |
Returns: !(x < nullptr)
.
References boost::move_upd::nullptr_type.
|
inline |
Returns: !(nullptr < x)
.
References boost::move_upd::nullptr_type, and boost::flyweights::x.
|
inline |
Effects: Calls x.swap(y)
.
References boost::flyweights::x, and boost::polygon::y().