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

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

#include <ustl.h>

Public Types

typedef T value_type
 
typedef size_t 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
 
typedef pair< iterator, iterator > range_t
 
typedef pair< const_iterator, const_iterator > const_range_t
 
using initlist_t = std::initializer_list< value_type >
 

Public Member Functions

template<typename T2 >
 tuple (const tuple< N, T2 > &t)
 
 tuple (const tuple< N, T > &t)
 
 tuple (const_pointer v)
 
 tuple (const_reference v0)
 
 tuple (const_reference v0, const_reference v1)
 
 tuple (const_reference v0, const_reference v1, const_reference v2)
 
 tuple (const_reference v0, const_reference v1, const_reference v2, const_reference v3)
 
iterator begin (void)
 
const_iterator begin (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
size_type size (void) const
 
size_type max_size (void) const
 
bool empty (void) const
 
const_reference at (size_type i) const
 
reference at (size_type i)
 
const_reference operator[] (size_type i) const
 
reference operator[] (size_type i)
 
template<typename T2 >
tupleoperator= (const tuple< N, T2 > &src)
 
tupleoperator= (const tuple< N, T > &src)
 
tupleoperator+= (const_reference v)
 
tupleoperator-= (const_reference v)
 
tupleoperator*= (const_reference v)
 
tupleoperator/= (const_reference v)
 
tuple operator+ (const_reference v) const
 
tuple operator- (const_reference v) const
 
tuple operator* (const_reference v) const
 
tuple operator/ (const_reference v) const
 
void swap (tuple< N, T > &v)
 
void read (istream &is)
 
void write (ostream &os) const
 
void text_write (ostringstream &os) const
 
size_t stream_size (void) const
 
 tuple (initlist_t v)
 
tupleassign (initlist_t v)
 
tupleoperator= (initlist_t v)
 
tupleoperator+= (initlist_t v)
 
tupleoperator-= (initlist_t v)
 
tupleoperator*= (initlist_t v)
 
tupleoperator/= (initlist_t v)
 
template<typename T2 >
tuple< N, T > & operator= (const tuple< N, T2 > &src)
 

Detailed Description

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

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