Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

std::unique_ptr(3) [centos man page]

std::unique_ptr< _Tp, _Dp >(3)				     Library Functions Manual				    std::unique_ptr< _Tp, _Dp >(3)

NAME
std::unique_ptr< _Tp, _Dp > - SYNOPSIS
Public Types typedef _Dp deleter_type typedef _Tp element_type typedef _Pointer::type pointer Public Member Functions unique_ptr (pointer __p) noexcept unique_ptr (pointer __p, typename conditional< is_reference< deleter_type >::value, deleter_type, const deleter_type & >::type __d) noexcept unique_ptr (pointer __p, typename remove_reference< deleter_type >::type &&__d) noexcept constexpr unique_ptr (nullptr_t) noexcept unique_ptr (unique_ptr &&__u) noexcept template<typename _Up , typename _Ep , typename = _Require< is_convertible<typename unique_ptr<_Up, _Ep>::pointer, pointer>, __not_<is_array<_Up>>, typename conditional<is_reference<_Dp>::value, is_same<_Ep, _Dp>, is_convertible<_Ep, _Dp>>::type>> unique_ptr (unique_ptr< _Up, _Ep > &&__u) noexcept unique_ptr (const unique_ptr &)=delete template<typename _Up , typename > unique_ptr (auto_ptr< _Up > &&__u) noexcept pointer get () const noexcept deleter_type & get_deleter () noexcept const deleter_type & get_deleter () const noexcept operator bool () const noexcept add_lvalue_reference < element_type >::type operator* () const " pointer operator-> () const noexcept unique_ptr & operator= (unique_ptr &&__u) noexcept template<typename _Up , typename _Ep > enable_if< __and_ < is_convertible< typename unique_ptr< _Up, _Ep > ::pointer, pointer >, __not_ < is_array< _Up > > >::value, unique_ptr & >::type operator= (unique_ptr< _Up, _Ep > &&__u) noexcept" unique_ptr & operator= (nullptr_t) noexcept unique_ptr & operator= (const unique_ptr &)=delete pointer release () noexcept void reset (pointer __p=pointer()) noexcept void swap (unique_ptr &__u) noexcept Detailed Description template<typename _Tp, typename _Dp = default_delete<_Tp>>class std::unique_ptr< _Tp, _Dp > 20.7.1.2 unique_ptr for single objects. Definition at line 109 of file unique_ptr.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Jun 10 2014 std::unique_ptr< _Tp, _Dp >(3)

Check Out this Related Man Page

std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >(3)Library Functions Manualstd::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >(3)

NAME
std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs > - SYNOPSIS
Inherits _OuterAlloc. Public Types typedef __traits::const_pointer const_pointer typedef __traits::const_void_pointer const_void_pointer" typedef __traits::difference_type difference_type typedef __inner_type::__type inner_allocator_type typedef _OuterAlloc outer_allocator_type typedef __traits::pointer pointer typedef conditional< __any_of < __propagate_on_copy, _OuterAlloc, _InnerAllocs...> ::value, true_type, false_type > ::type propagate_on_container_copy_assignment" typedef conditional< __any_of < __propagate_on_move, _OuterAlloc, _InnerAllocs...> ::value, true_type, false_type > ::type propagate_on_container_move_assignment" typedef conditional< __any_of < __propagate_on_swap, _OuterAlloc, _InnerAllocs...> ::value, true_type, false_type > ::type propagate_on_container_swap" typedef __traits::size_type size_type typedef __traits::value_type value_type typedef __traits::void_pointer void_pointer Public Member Functions template<typename _Outer2 > scoped_allocator_adaptor (_Outer2 &&__outer, const _InnerAllocs &...__inner) scoped_allocator_adaptor (const scoped_allocator_adaptor &__other) scoped_allocator_adaptor (scoped_allocator_adaptor &&__other) template<typename _Outer2 > scoped_allocator_adaptor (const scoped_allocator_adaptor< _Outer2, _InnerAllocs...> &__other) template<typename _Outer2 > scoped_allocator_adaptor (scoped_allocator_adaptor< _Outer2, _InnerAllocs...> &&__other) pointer allocate (size_type __n) pointer allocate (size_type __n, const_void_pointer __hint) template<typename _Tp , typename... _Args> void construct (_Tp *__p, _Args &&...__args) template<typename _T1 , typename _T2 , typename... _Args1, typename... _Args2> void construct (pair< _T1, _T2 > *__p, piecewise_construct_t, tuple< _Args1...> __x, tuple< _Args2...> __y) template<typename _T1 , typename _T2 > void construct (pair< _T1, _T2 > *__p) template<typename _T1 , typename _T2 , typename _Up , typename _Vp > void construct (pair< _T1, _T2 > *__p, _Up &&__u, _Vp &&__v) template<typename _T1 , typename _T2 , typename _Up , typename _Vp > void construct (pair< _T1, _T2 > *__p, const pair< _Up, _Vp > &__x) template<typename _T1 , typename _T2 , typename _Up , typename _Vp > void construct (pair< _T1, _T2 > *__p, pair< _Up, _Vp > &&__x) void deallocate (pointer __p, size_type __n) template<typename _Tp > void destroy (_Tp *__p) inner_allocator_type & inner_allocator () noexcept const inner_allocator_type & inner_allocator () const noexcept size_type max_size () const outer_allocator_type & outer_allocator () noexcept const outer_allocator_type & outer_allocator () const noexcept scoped_allocator_adaptor select_on_container_copy_construction () const Friends template<typename _Outer , typename... _Inner> class scoped_allocator_adaptor template<typename... > class __inner_type_impl template<typename _OutA1 , typename _OutA2 , typename... _InA> bool operator== (const scoped_allocator_adaptor< _OutA1, _InA...> &__a, const scoped_allocator_adaptor< _OutA2, _InA...> &__b) noexcept Detailed Description template<typename _OuterAlloc, typename... _InnerAllocs>class std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs > Primary class template. Definition at line 95 of file scoped_allocator. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Jun 10 2014 std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >(3)
Man Page