auto_buffer_selector Struct Template Reference
List of all members.
template<typename T, size_t N, typename A = ss_typename_type_def_k stlsoft::allocator_selector<T>::allocator_type>
struct fastformat::util::auto_buffer_selector< T, N, A >
A Type Generator
that deduces the appropriate specialisation of
There are two reasons for this:
- Some (older) compilers have to use the old (pre-1.9) form of
stlsoft::auto_buffer. Using fastformat::auto_buffer_selector makes FastFormat code independent of such compilers' behavioural odities.
- Visual C++ 8 & 9 both have bug that causes them to exhibit a linker error (LNK2005) whereby std::allocator<>::allocate() and std::allocator<>::deallocate() are multiply defined. In that case, we always select stlsoft::malloc_allocator as the allocator, as this will still hook into the VC++ memory tracing debug API.
< T, A, N >
| ||The generated type. |
Member Typedef Documentation
|typedef stlsoft::auto_buffer<T, A, N> type
The documentation for this struct was generated from the following file: