clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | List of all members
bk_lib::pod_vector< T, Allocator > Class Template Reference

A std::vector-replacement for POD-Types. More...

#include <pod_vector.h>

Inheritance diagram for bk_lib::pod_vector< T, Allocator >:
Inheritance graph
Collaboration diagram for bk_lib::pod_vector< T, Allocator >:
Collaboration graph

Public Types

typedef pod_vector< T, Allocator > this_type
 
typedef Allocator allocator_type
 
typedef Allocator::reference reference
 
typedef Allocator::const_reference const_reference
 
typedef Allocator::pointer iterator
 
typedef Allocator::const_pointer const_iterator
 
typedef Allocator::pointer pointer
 
typedef Allocator::const_pointer const_pointer
 
typedef std::reverse_iterator
< iterator
reverse_iterator
 
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
 
typedef T value_type
 

Detailed Description

template<class T, class Allocator = std::allocator<T>>
class bk_lib::pod_vector< T, Allocator >

A std::vector-replacement for POD-Types.

Precondition
T is a POD-Type
See also
http://www.comeaucomputing.com/techtalk/#pod for a description of POD-Types.
Note
Does not call any destructors and uses std::memcpy to copy/move elements
On LP64-machines size and capacity are represented as unsigned integers (instead of e.g. std::size_t)

Member Typedef Documentation

template<class T, class Allocator = std::allocator<T>>
typedef Allocator bk_lib::pod_vector< T, Allocator >::allocator_type
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::const_pointer bk_lib::pod_vector< T, Allocator >::const_iterator
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::const_pointer bk_lib::pod_vector< T, Allocator >::const_pointer
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::const_reference bk_lib::pod_vector< T, Allocator >::const_reference
template<class T, class Allocator = std::allocator<T>>
typedef std::reverse_iterator<const_iterator> bk_lib::pod_vector< T, Allocator >::const_reverse_iterator
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::pointer bk_lib::pod_vector< T, Allocator >::iterator
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::pointer bk_lib::pod_vector< T, Allocator >::pointer
template<class T, class Allocator = std::allocator<T>>
typedef Allocator::reference bk_lib::pod_vector< T, Allocator >::reference
template<class T, class Allocator = std::allocator<T>>
typedef std::reverse_iterator<iterator> bk_lib::pod_vector< T, Allocator >::reverse_iterator
template<class T, class Allocator = std::allocator<T>>
typedef pod_vector<T,Allocator> bk_lib::pod_vector< T, Allocator >::this_type
template<class T, class Allocator = std::allocator<T>>
typedef T bk_lib::pod_vector< T, Allocator >::value_type

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