Zth (libzth)
allocator.h File Reference
#include <libzth/macros.h>
#include <libzth/config.h>
#include <libzth/util.h>
#include <list>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  zth::vector_type< T >
 std::vector type using Config::Allocator::type. More...
 
struct  zth::map_type< Key, T, Compare >
 std::map type using Config::Allocator::type. More...
 
struct  zth::list_type< T >
 std::list type using Config::Allocator::type. More...
 

Namespaces

 zth
 

Macros

#define ZTH_CLASS_NEW_DELETE(T)
 Define new/delete operators for a class, which are allocator-aware. More...
 

Functions

template<typename Traits , typename Allocator >
string zth::to_zth_string (std::basic_string< char, Traits, Allocator > const &s)
 
std::string zth::to_std_string (string const &s)