TemplateMeta.h File Reference

Template metaprogramming utility routines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LDK
namespace  LDK::Meta

Data Structures

struct  LDK::Meta::If< true, TCase, FCase >
struct  LDK::Meta::If< false, TCase, FCase >
struct  LDK::Meta::True
 A metaprogram true value. More...
struct  LDK::Meta::False
 A metaprogram false value. More...
struct  LDK::Meta::CTAssert< true >
struct  LDK::Meta::PowerOf2< N >
 A compile-time loop to test if a number is a power of 2. More...
struct  LDK::Meta::PowerOf2< 2 >
struct  LDK::Meta::PowerOf2< 0 >
struct  LDK::Meta::HalfwayPowerOf2< Size >
 A compile-time test to if a number is a power of 2 plus (itself divided by two). More...

Defines

#define CTASSERT(expr, msg)   LDK::Meta::CTAssert<((expr) != false)> ERROR_##msg;
 A compile-time assert made with templates and a macro.


Detailed Description

Definition in file TemplateMeta.h.


Generated on Fri Aug 17 18:32:26 2007 for LDK by  doxygen 1.5.1