std::uses_allocator<std::experimental::function>
From cppreference.com
< cpp | experimental | function
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
Library fundamentals
Polymorphic allocator library
Convenience aliases for containers using polymorphic_allocator | ||||
| Memory resource classes | ||||
| Global memory resources | ||||
| Type-erased allocator support for existing classes | ||||
| Defined in header <experimental/functional>
|
||
| template< class R, class... ArgTypes, class Alloc > struct uses_allocator<std::experimental::function<R(ArgTypes...)>, Alloc> |
(library fundamentals TS) (removed in library fundamentals TS v3) |
|
This specialization of std::uses_allocator informs other library components that all objects of type std::experimental::function support uses-allocator construction.
Contents |
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 member function) |
Member types
| Type | Definition |
value_type
|
bool |
type
|
std::integral_constant<bool, value> |
[edit] See also
| (C++11) |
checks if the specified type supports uses-allocator construction (class template) [edit] |