std::uses_allocator<std::tuple>

Defined in header <tuple> template< class... Types, class Alloc > struct uses_allocator< std::tuple<Types...>, Alloc > : std::true_type { }; (since C++11) This specialization of std::uses_allocator informs other library components that tuples support uses-allocator construction, even though they do not have a nested allocator_type. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Membe

std::uses_allocator&lt;std::stack&gt;

template< class T, class Container, class Alloc > struct uses_allocator<stack<T,Container>,Alloc> : std::uses_allocator<Container, Alloc>::type { }; (since C++11) Provides a transparent specialization of the std::uses_allocator type trait for std::stack: the container adaptor uses allocator if and only if the underlying container does. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Mem

std::use_facet

Defined in header <locale> template< class Facet > const Facet& use_facet( const std::locale& loc ); Obtains a reference to a facet implemented by loc. Parameters loc - the locale object to query Return value Returns a reference to the facet. The reference returned by this function is valid as long as any std::locale object exists that implements Facet. Exceptions std::bad_cast if std::has_facet<Facet>(loc) == false. Example Display

std::uses_allocator&lt;std::queue&gt;

template< class T, class Container, class Alloc > struct uses_allocator<queue<T,Container>,Alloc> : std::uses_allocator<Container, Alloc>::type { }; (since C++11) Provides a transparent specialization of the std::uses_allocator type trait for std::queue: the container adaptor uses allocator if and only if the underlying container does. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Mem

std::uses_allocator&lt;std::promise&gt;

template< class R, class Alloc > struct uses_allocator<std::promise<R>, Alloc> : std::true_type { }; (since C++11) Provides a specialization of the std::uses_allocator type trait for std::promise. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Member functions operator bool converts the object to bool, returns value (public member function) operator() (C++14) returns value (public membe

std::uses_allocator&lt;std::packaged_task&gt;

template< class R, class Alloc > struct uses_allocator<std::packaged_task<R>, Alloc> : true_type { }; (since C++11) Provides a specialization of the std::uses_allocator type trait for std::packaged_task. Inherited from std::integral_constant Member constants value [static] true (public static member constant) Member functions operator bool converts the object to bool, returns value (public member function) operator() (C++14) returns value (publi

std::uses_allocator&lt;std::function&gt;

Defined in header <functional> template< class R, class... ArgTypes, class Alloc > struct uses_allocator<std::function<R(ArgTypes...)>, Alloc> : std::true_type { }; (since C++11) This specialization of std::uses_allocator informs other library components that all objects of type std::function support uses-allocator construction, even though they do not have a nested allocator_type. Inherited from std::integral_constant Member constants value [stat

std::uses_allocator&lt;std::priority_queue&gt;

template< class T, class Container, class Compare,class Alloc > struct uses_allocator<priority_queue<T,Compare,Container>,Alloc> : std::uses_allocator<Container, Alloc>::type { }; (since C++11) Provides a transparent specialization of the std::uses_allocator type trait for std::priority_queue: the container adaptor uses allocator if and only if the underlying container does. Inherited from std::integral_constant Member constants value [static] tr

std::uses_allocator

Defined in header <memory> template< class T, class Alloc > struct uses_allocator (since C++11) If T has a member typedef allocator_type which is convertible from Alloc or is an alias of std::experimental::erased_type (library fundamentals TS), provides the member constant value equal to true. Otherwise value is false. Helper variable template template< class T, class Alloc > constexpr bool uses_allocator_v = uses_allocator<T, Alloc>::value; (sin

std::uses_allocator&lt;std::dynarray&gt;

template< class T, class Alloc > struct uses_allocator<dynarray<T>, Alloc> : std::true_type; (since C++14) Provides a specialization of the std::uses_allocator type trait for std::dynarray. A dynarray may be constructed with an allocator, even though the class does not have allocator_type member type. See also uses_allocator (C++11) checks if the specified type supports uses-allocator construction (class template)