Public Member Functions

ct_constant< value_ > Class Template Reference

A compiletime constant. More...

#include <ct_constant.hpp>

Public Member Functions

 ct_constant ()
self_type operator() () const
template<typename VectorType >
self_type operator() (const VectorType &p) const
 operator long () const
 A compiletime constant is implicity convertible to a long. Since ct_constant is only manipulated at compile time, this is a safe operation.
std::string str () const

Detailed Description

template<long value_>
class viennamath::ct_constant< value_ >

A compiletime constant.

Template Parameters:
value_ The compiletime value to be represented

Constructor & Destructor Documentation

ct_constant (  )  [inline, explicit]

Member Function Documentation

operator long (  )  const [inline]

A compiletime constant is implicity convertible to a long. Since ct_constant is only manipulated at compile time, this is a safe operation.

self_type operator() ( const VectorType &  p  )  const [inline]
self_type operator() (  )  const [inline]
std::string str (  )  const [inline]

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