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>
Type-generator template that deduces the appropriate specialisation of
struct pantheios::util::auto_buffer_selector< T, N, A >
There are two reasons for this:
- Some (older) compilers have to use the old (pre-1.9) form of
stlsoft::auto_buffer. Using pantheios::auto_buffer_selector makes Pantheios 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: