lite::constant< type_, value_ > Class Template Reference
[Tool Classes]

This class can be used to encapsulate an element of a lite::pack as a constant element. More...

#include <array.hpp>

List of all members.

Public Types

typedef type_ type
 element type

Static Public Attributes

static const type_ value = value_
 element value

Detailed Description

template<typename type_, type_ value_>
class lite::constant< type_, value_ >

This class can be used to encapsulate an element of a lite::pack as a constant element.

Encapsulating a pack element with this class tells the pack object not to allocate memory for that element. See lite::pack for a more information.

Parameters:
type_ specifies the type of the element
value_ specifies the constant value of the element.
Remarks:
since a constant element is implement as a static const member of the pack with an in class initializer, the type_ should be of integral type.

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

Generated on Fri Nov 6 02:03:21 2009 for Lite by  doxygen 1.6.0