73class lass_allocator:
public VariableAllocator
76 typedef size_t size_type;
77 typedef std::ptrdiff_t difference_type;
79 typedef const T* const_pointer;
81 typedef const T& const_reference;
83 template <
typename U>
struct rebind {
typedef lass_allocator<U, VariableAllocator> other; };
85 lass_allocator()
noexcept;
86 lass_allocator(
const lass_allocator&)
noexcept;
87 template <
typename U> lass_allocator(
const lass_allocator<U, VariableAllocator>&)
noexcept;
88 ~lass_allocator()
noexcept;
90 pointer address(reference x)
const;
91 const_pointer address(const_reference x)
const;
93 pointer allocate(size_type n,
typename lass_allocator<void, VariableAllocator>::pointer hint = 0);
94 void deallocate(pointer p, size_type n);
95 size_type max_size()
const noexcept;
97 void construct(pointer p,
const T& val);
98 void destroy(pointer p);