Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkConceptChecking.h File Reference

Go to the source code of this file.

Namespaces

namespace  itk
namespace  itk::Concept
namespace  itk::Concept::Detail

Defines

#define ITK_CONCEPT_IMPLEMENTATION_STANDARD


Define Documentation

#define ITK_CONCEPT_IMPLEMENTATION_STANDARD
 

Choose a concept checking implementation based on compiler abilities.

Definition at line 34 of file itkConceptChecking.h.

 
#define itkConceptConstraintsMacro  ) 
 

Value:

template <void (Constraints::*)()> struct Enforcer {}; \
    typedef Enforcer<&Constraints::constraints> EnforcerInstantiation
Standard instantiation-time concept check. No run-time overhead introduced. This implementation is based on "Concept Checking: Binding Parametric Polymorphism in C++" by Jeremy Siek and Andrew Lumsdaine, University of Notre Dame.

Definition at line 47 of file itkConceptChecking.h.

#define itkConceptMacro name,
concept   )     enum { name = sizeof concept }
 

Standard instantiation-time concept check. No run-time overhead introduced. This implementation is based on "Concept Checking: Binding Parametric Polymorphism in C++" by Jeremy Siek and Andrew Lumsdaine, University of Notre Dame.

Definition at line 50 of file itkConceptChecking.h.


Generated at Thu May 25 00:19:23 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000