tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
uses_allocator< Type, Alloc > Struct Template Reference

If T has a member typedef allocator_type which is convertible from Alloc, the member constant value is true. Otherwise value is false. More...

#include <uses_allocator.hpp>

Inheritance diagram for uses_allocator< Type, Alloc >:
integral_constant< Type, Val >

Additional Inherited Members

- Public Types inherited from integral_constant< Type, Val >
using type = integral_constant<Type, Val>
 
using value_type = Type
 
- Public Member Functions inherited from integral_constant< Type, Val >
constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 
- Static Public Attributes inherited from integral_constant< Type, Val >
static constexpr Type value = Val
 

Detailed Description

template<typename Type, typename Alloc>
struct etl::uses_allocator< Type, Alloc >

If T has a member typedef allocator_type which is convertible from Alloc, the member constant value is true. Otherwise value is false.


The documentation for this struct was generated from the following file: