xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_allocator()

template<typename type_t , typename allocator_t = xtd::collections::generic::helpers::allocator<typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type>>
virtual allocator_type xtd::collections::generic::list< type_t, allocator_t >::get_allocator ( ) const
inlinevirtual

Returns the allocator associated with the container.

Returns
The associated allocator.