Public Member Functions

can::Array< T, N > Class Template Reference

compile-time (static) array of size N More...

Inheritance diagram for can::Array< T, N >:
mth::Vector< T, N > mth::Vector< T, 3 > mth::Vector3< T >

List of all members.

Public Member Functions

 Array ()
 default constructor - necessary
 Array (Array< T, N > const &other)
 copy constructor
 ~Array ()
 elems is destroyed automatically
Array< T, N > & operator= (Array< T, N > const &other)
 assignment operator
T & operator[] (unsigned i)
 mutable index operator
T const & operator[] (unsigned i) const
 immutable index operator
unsigned size () const
 get the size of this array

Detailed Description

template<class T, unsigned N = 0>
class can::Array< T, N >

compile-time (static) array of size N


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines