OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
openfpm::array< T, 0 > Class Template Reference

Detailed Description

template<class T>
class openfpm::array< T, 0 >

Definition at line 161 of file array_openfpm.hpp.

Public Types

enum  { static_size = 0 }
 
typedef T value_type
 
typedef T * iterator
 
typedef const T * const_iterator
 
typedef T & reference
 
typedef const T & const_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
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator crend () const
 
reference operator[] (size_type)
 
const_reference operator[] (size_type) const
 
reference at (size_type)
 
const_reference at (size_type) const
 
reference front ()
 
BOOST_CONSTEXPR const_reference front () const
 
reference back ()
 
BOOST_CONSTEXPR const_reference back () const
 
void swap (array< T, 0 > &)
 
const T * data () const
 
T * data ()
 
T * c_array ()
 
template<typename T2 >
array< T, 0 > & operator= (const array< T2, 0 > &)
 
void assign (const T &value)
 
void fill (const T &)
 

Static Public Member Functions

static BOOST_CONSTEXPR size_type size ()
 
static BOOST_CONSTEXPR bool empty ()
 
static BOOST_CONSTEXPR size_type max_size ()
 
static reference failed_rangecheck ()
 

Member Typedef Documentation

◆ const_iterator

template<class T >
typedef const T* openfpm::array< T, 0 >::const_iterator

Definition at line 168 of file array_openfpm.hpp.

◆ const_reference

template<class T >
typedef const T& openfpm::array< T, 0 >::const_reference

Definition at line 170 of file array_openfpm.hpp.

◆ const_reverse_iterator

template<class T >
typedef std::reverse_iterator<const_iterator> openfpm::array< T, 0 >::const_reverse_iterator

Definition at line 186 of file array_openfpm.hpp.

◆ difference_type

template<class T >
typedef std::ptrdiff_t openfpm::array< T, 0 >::difference_type

Definition at line 172 of file array_openfpm.hpp.

◆ iterator

template<class T >
typedef T* openfpm::array< T, 0 >::iterator

Definition at line 167 of file array_openfpm.hpp.

◆ reference

template<class T >
typedef T& openfpm::array< T, 0 >::reference

Definition at line 169 of file array_openfpm.hpp.

◆ reverse_iterator

template<class T >
typedef std::reverse_iterator<iterator> openfpm::array< T, 0 >::reverse_iterator

Definition at line 185 of file array_openfpm.hpp.

◆ size_type

template<class T >
typedef std::size_t openfpm::array< T, 0 >::size_type

Definition at line 171 of file array_openfpm.hpp.

◆ value_type

template<class T >
typedef T openfpm::array< T, 0 >::value_type

Definition at line 166 of file array_openfpm.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class T >
anonymous enum

Definition at line 254 of file array_openfpm.hpp.

Member Function Documentation

◆ assign()

template<class T >
void openfpm::array< T, 0 >::assign ( const T &  value)
inline

Definition at line 271 of file array_openfpm.hpp.

◆ at() [1/2]

template<class T >
reference openfpm::array< T, 0 >::at ( size_type  )
inline

Definition at line 226 of file array_openfpm.hpp.

◆ at() [2/2]

template<class T >
const_reference openfpm::array< T, 0 >::at ( size_type  ) const
inline

Definition at line 227 of file array_openfpm.hpp.

◆ back() [1/2]

template<class T >
reference openfpm::array< T, 0 >::back ( )
inline

Definition at line 240 of file array_openfpm.hpp.

◆ back() [2/2]

template<class T >
BOOST_CONSTEXPR const_reference openfpm::array< T, 0 >::back ( ) const
inline

Definition at line 245 of file array_openfpm.hpp.

◆ begin() [1/2]

template<class T >
iterator openfpm::array< T, 0 >::begin ( )
inline

Definition at line 175 of file array_openfpm.hpp.

◆ begin() [2/2]

template<class T >
const_iterator openfpm::array< T, 0 >::begin ( ) const
inline

Definition at line 176 of file array_openfpm.hpp.

◆ c_array()

template<class T >
T * openfpm::array< T, 0 >::c_array ( )
inline

Definition at line 263 of file array_openfpm.hpp.

◆ cbegin()

template<class T >
const_iterator openfpm::array< T, 0 >::cbegin ( ) const
inline

Definition at line 177 of file array_openfpm.hpp.

◆ cend()

template<class T >
const_iterator openfpm::array< T, 0 >::cend ( ) const
inline

Definition at line 181 of file array_openfpm.hpp.

◆ crbegin()

template<class T >
const_reverse_iterator openfpm::array< T, 0 >::crbegin ( ) const
inline

Definition at line 202 of file array_openfpm.hpp.

◆ crend()

template<class T >
const_reverse_iterator openfpm::array< T, 0 >::crend ( ) const
inline

Definition at line 210 of file array_openfpm.hpp.

◆ data() [1/2]

template<class T >
T * openfpm::array< T, 0 >::data ( )
inline

Definition at line 260 of file array_openfpm.hpp.

◆ data() [2/2]

template<class T >
const T * openfpm::array< T, 0 >::data ( ) const
inline

Definition at line 259 of file array_openfpm.hpp.

◆ empty()

template<class T >
static BOOST_CONSTEXPR bool openfpm::array< T, 0 >::empty ( )
inlinestatic

Definition at line 252 of file array_openfpm.hpp.

◆ end() [1/2]

template<class T >
iterator openfpm::array< T, 0 >::end ( )
inline

Definition at line 179 of file array_openfpm.hpp.

◆ end() [2/2]

template<class T >
const_iterator openfpm::array< T, 0 >::end ( ) const
inline

Definition at line 180 of file array_openfpm.hpp.

◆ failed_rangecheck()

template<class T >
static reference openfpm::array< T, 0 >::failed_rangecheck ( )
inlinestatic

Definition at line 275 of file array_openfpm.hpp.

◆ fill()

template<class T >
void openfpm::array< T, 0 >::fill ( const T &  )
inline

Definition at line 272 of file array_openfpm.hpp.

◆ front() [1/2]

template<class T >
reference openfpm::array< T, 0 >::front ( )
inline

Definition at line 230 of file array_openfpm.hpp.

◆ front() [2/2]

template<class T >
BOOST_CONSTEXPR const_reference openfpm::array< T, 0 >::front ( ) const
inline

Definition at line 235 of file array_openfpm.hpp.

◆ max_size()

template<class T >
static BOOST_CONSTEXPR size_type openfpm::array< T, 0 >::max_size ( )
inlinestatic

Definition at line 253 of file array_openfpm.hpp.

◆ operator=()

template<class T >
template<typename T2 >
array< T, 0 > & openfpm::array< T, 0 >::operator= ( const array< T2, 0 > &  )
inline

Definition at line 267 of file array_openfpm.hpp.

◆ operator[]() [1/2]

template<class T >
reference openfpm::array< T, 0 >::operator[] ( size_type  )
inline

Definition at line 215 of file array_openfpm.hpp.

◆ operator[]() [2/2]

template<class T >
const_reference openfpm::array< T, 0 >::operator[] ( size_type  ) const
inline

Definition at line 220 of file array_openfpm.hpp.

◆ rbegin() [1/2]

template<class T >
reverse_iterator openfpm::array< T, 0 >::rbegin ( )
inline

Definition at line 198 of file array_openfpm.hpp.

◆ rbegin() [2/2]

template<class T >
const_reverse_iterator openfpm::array< T, 0 >::rbegin ( ) const
inline

Definition at line 199 of file array_openfpm.hpp.

◆ rend() [1/2]

template<class T >
reverse_iterator openfpm::array< T, 0 >::rend ( )
inline

Definition at line 206 of file array_openfpm.hpp.

◆ rend() [2/2]

template<class T >
const_reverse_iterator openfpm::array< T, 0 >::rend ( ) const
inline

Definition at line 207 of file array_openfpm.hpp.

◆ size()

template<class T >
static BOOST_CONSTEXPR size_type openfpm::array< T, 0 >::size ( )
inlinestatic

Definition at line 251 of file array_openfpm.hpp.

◆ swap()

template<class T >
void openfpm::array< T, 0 >::swap ( array< T, 0 > &  )
inline

Definition at line 256 of file array_openfpm.hpp.


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