Namensräume
Varianten

std::uses_allocator<std::function>

Aus cppreference.com
< cpp‎ | utility‎ | functional‎ | function

 
 
 
 
 
definiert in Header <functional>
template< class R, class... ArgTypes, class Alloc >
struct uses_allocator<std::function<R(ArgTypes...)>, Alloc> : std::true_type { };
(seit C++11)
Diese Spezialisierung std::uses_allocator informiert andere Bibliothek-Komponenten, dass alle Objekte des Typs std::function support uses-Allocator Bau, obwohl sie nicht über eine verschachtelte allocator_type .
Original:
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

Inherited from std::integral_constant

Member constants

value
[statisch]
true
(public static Mitglied konstanten)

Member functions

operator bool
wandelt das Objekt bool, gibt value
Original:
converts the object to bool, returns value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion)

Member types

Type
Original:
Type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Definition
value_typebool
typestd::integral_constant<bool, value>

[Bearbeiten] Siehe auch

prüft, ob der angegebene Typ allokatorgestützte Erzeugung unterstützt.
(Klassen-Template) [edit]