Public Types | Public Member Functions

ct_vector_1< T0 > Class Template Reference

Compiletime vector with one element. More...

#include <ct_vector.hpp>

Public Types

typedef T0 type_0

Public Member Functions

 ct_vector_1 (T0 const &t0)
T0 const & operator[] (ct_index< 0 >) const
 Provides access to the first element using bracket access and a compile time index.
template<long i>
void operator[] (ct_index< i >) const
size_t size () const

Detailed Description

template<typename T0>
class viennamath::ct_vector_1< T0 >

Compiletime vector with one element.

Template Parameters:
T0 The entry of the vector

Member Typedef Documentation

typedef T0 type_0

Constructor & Destructor Documentation

ct_vector_1 ( T0 const &  t0  )  [inline]

Member Function Documentation

T0 const& operator[] ( ct_index< 0 >   )  const [inline]

Provides access to the first element using bracket access and a compile time index.

void operator[] ( ct_index< i >   )  const [inline]
size_t size (  )  const [inline]

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