Public Types | Public Member Functions | Public Attributes | List of all members
ustl::array< T, N > Class Template Reference

A fixed-size array of N Ts. More...

Public Types

typedef T value_type
 
typedef unsigned size_type
 
typedef value_type * pointer
 
typedef const value_type * const_pointer
 
typedef value_type & reference
 
typedef const value_type & const_reference
 
typedef pointer iterator
 
typedef const_pointer const_iterator
 
typedef ::ustl::reverse_iterator< iterator > reverse_iterator
 
typedef ::ustl::reverse_iterator< const_iterator > const_reverse_iterator
 
using initlist_t = std::initializer_list< value_type >
 

Public Member Functions

arrayoperator+= (initlist_t v)
 
arrayoperator-= (initlist_t v)
 
arrayoperator*= (initlist_t v)
 
arrayoperator/= (initlist_t v)
 
array operator+ (initlist_t v) const
 
array operator- (initlist_t v) const
 
array operator* (initlist_t v) const
 
array operator/ (initlist_t v) const
 
iterator begin (void)
 
iterator end (void)
 
reference at (size_type i)
 
reference operator[] (size_type i)
 
constexpr const_iterator begin (void) const
 
constexpr const_iterator end (void) const
 
constexpr size_type size (void) const
 
constexpr size_type max_size (void) const
 
constexpr bool empty (void) const
 
constexpr const_reference at (size_type i) const
 
constexpr const_reference operator[] (size_type i) const
 
void read (istream &is)
 
void write (ostream &os) const
 
void text_write (ostringstream &os) const
 
size_t stream_size (void) const
 
arrayoperator+= (const_reference v)
 
arrayoperator-= (const_reference v)
 
arrayoperator*= (const_reference v)
 
arrayoperator/= (const_reference v)
 
array operator+ (const_reference v) const
 
array operator- (const_reference v) const
 
array operator* (const_reference v) const
 
array operator/ (const_reference v) const
 
void fill (const_reference v)
 
void swap (array &v)
 

Public Attributes

_v [N]
 

Detailed Description

template<typename T, size_t N>
class ustl::array< T, N >

A fixed-size array of N Ts.


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

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10