Marine Library  1.0
C++ library for Linux Networking Development
Public Types | Public Member Functions | List of all members
CRingBuf< T, Alloc > Class Template Reference

Public Types

typedef T value_type
 
typedef T & reference
 
typedef const T & const_reference
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef Alloc::template rebind< T >::other allocator_type
 

Public Member Functions

 CRingBuf (size_type capacity)
 
size_type capacity () const
 
bool empty () const
 
size_type size () const
 
bool push (const_reference v)
 
bool pop (pointer v)
 

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