GCS  0.2.3
Public Types | Public Member Functions
gu::ReservedContainer< ContainerType, reserved > Class Template Reference

#include <gu_reserved_container.hpp>

Public Types

typedef ContainerType::value_type ContainedType
 

Public Member Functions

ContainerType & container ()
 
const ContainerType & container () const
 
ContainerType & operator() ()
 
const ContainerType & operator() () const
 
ContainerType * operator-> ()
 
const ContainerType * operator-> () const
 
const ContainedType * reserved_buffer () const
 

Detailed Description

template<typename ContainerType, int reserved>
class gu::ReservedContainer< ContainerType, reserved >

ReservedContainer is a wrapper for

the point is to have a container allocated on the stack to use stack buffer for element storage.


The documentation for this class was generated from the following file: