Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stlallocator.h File Reference
#include <memory>
#include <type_traits>
#include "ion/base/allocatable.h"
#include "ion/base/allocator.h"
#include "ion/base/type_structs.h"
#include "ion/port/align.h"
Include dependency graph for stlallocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ion::base::StlAllocator< T >
 StlAllocator is derived std::allocator class that allows an Ion Allocator to be used for STL containers. More...
 
struct  ion::base::StlAllocator< T >::rebind< U >
 
class  ion::base::StlInlinedAllocator< T, N >
 StlInlinedAllocator is a derived StlAllocator class that uses inlined storage for its first N elements, then uses an Ion Allocator if that size is exceeded. More...
 
struct  ion::base::StlInlinedAllocator< T, N >::RebindHelper< U, V >
 Windows uses transient proxy allocators. More...
 
struct  ion::base::StlInlinedAllocator< T, N >::RebindHelper< U, U >
 Specialize for when the types are the same, that is, for the primary T allocator. More...
 
struct  ion::base::StlInlinedAllocator< T, N >::rebind< U >
 

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::base
 EnumHelper instantiations. These must be in the ion::base namespace.
 

Functions

template<class T1 , class T2 >
bool ion::base::operator== (const StlAllocator< T1 > &lhs, const StlAllocator< T2 > &rhs)
 Each StlAllocator holds an Allocator. More...
 
template<class T1 , class T2 >
bool ion::base::operator!= (const StlAllocator< T1 > &lhs, const StlAllocator< T2 > &rhs)
 
template<class T >
bool ion::base::operator== (const StlAllocator< T > &lhs, const StlAllocator< T > &rhs)
 
template<class T >
bool ion::base::operator!= (const StlAllocator< T > &lhs, const StlAllocator< T > &rhs)
 
template<class T1 , class T2 , int N1, int N2>
bool ion::base::operator== (const StlInlinedAllocator< T1, N1 > &lhs, const StlInlinedAllocator< T2, N2 > &rhs)
 StlInlinedAllocator instances are always unique because of inlined storage. More...
 
template<class T1 , class T2 , int N1, int N2>
bool ion::base::operator!= (const StlInlinedAllocator< T1, N1 > &lhs, const StlInlinedAllocator< T2, N2 > &rhs)