SizeHolder< s > Struct Template Reference
[TooN internals]

This struct holds a size using no data for static sizes. This struct holds a size is the size is dynamic, or simply recorcs the number in the type system if the size is static. More...

#include <allocator.hh>

List of all members.

Public Member Functions

 SizeHolder ()
 SizeHolder (int)
int size () const


Detailed Description

template<int s>
struct TooN::Internal::SizeHolder< s >

This struct holds a size using no data for static sizes. This struct holds a size is the size is dynamic, or simply recorcs the number in the type system if the size is static.

For internal use only.


Constructor & Destructor Documentation

SizeHolder (  ) 

Default constrution.

SizeHolder ( int   ) 

Construct from an int and discard it.


Member Function Documentation

int size (  )  const

Simply return the statcally known size.


Generated on Tue Oct 27 16:09:25 2009 for TooN by  doxygen 1.5.9