MPQC  3.0.0-alpha
sc::tr1::array::array< T, N > Class Template Reference

Array idential to C++0X arrays. More...

#include <util/container/stdarray_bits.h>

Public Types

enum  { static_size = N }
 
typedef T value_type
 
typedef T * iterator
 
typedef T & reference
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef std::reverse_iterator< iterator > reverse_iterator
 
typedef std::reverse_iterator< const_iterator > const_reverse_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
reference operator[] (size_type i)
 
const_reference operator[] (size_type i) const
 
reference at (size_type i)
 
const_reference at (size_type i) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
void swap (array< T, N > &y)
 
const T * data () const
 
T * data ()
 
template<typename T2 >
array< T, N > & operator= (const array< T2, N > &rhs)
 
void assign (const T &value)
 

Static Public Member Functions

static size_type size ()
 
static bool empty ()
 
static size_type max_size ()
 

Public Attributes

const typedef T * const_iterator
 
const typedef T & const_reference
 
elems [N]
 

Detailed Description

template<typename T, std::size_t N>
class sc::tr1::array::array< T, N >

Array idential to C++0X arrays.


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

Generated at Sun Jan 26 2020 23:24:15 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.