Allocator Builder
Policy Based C++ Template Allocator Library
|
#include <traits.hpp>
Inherits false_type.
This traits returns true if both passed types have the same type, resp. template base type
e.g. both_same_base<stack_allocator<32>, stack_allocator<64>>::value == true
It's usage is not absolute safe, because it would mean to unroll all possible parameter combinations. But all currently available allocator should work.
Definition at line 75 of file traits.hpp.