Classes | |
struct | UniqueType |
struct | UniqueType_bool |
struct | UniqueType_int |
struct | UniqueType_unsigned_int |
Functions | |
template<typename T > | |
void | IgnoreUnusedVariable (T) |
template<class T > | |
void | RequireBooleanExpression (const T &t) |
void itk::Concept::Detail::IgnoreUnusedVariable | ( | T | ) | [inline] |
Concept checks may require a variable to be declared but not used. This function can be called with the variable to prevent the compiler warning. (BOOST)
Definition at line 115 of file itkConceptChecking.h.
Referenced by itk::Concept::CopyConstructible< T >::CopyConstructible::Constraints::const_constraints(), itk::Concept::HasPixelTraits< T >::HasPixelTraits::Constraints::constraints(), itk::Concept::IsNonInteger< T >::IsNonInteger::Constraints::constraints(), itk::Concept::HasZero< T >::HasZero::Constraints::constraints(), itk::Concept::IsInteger< T >::IsInteger::Constraints::constraints(), itk::Concept::Convertible< T1, T2 >::Convertible::Constraints::constraints(), itk::Concept::SameType< T1, T2 >::SameType::Constraints::constraints(), itk::Concept::IsFixedPoint< T >::IsFixedPoint::Constraints::constraints(), itk::Concept::HasNumericTraits< T >::HasNumericTraits::Constraints::constraints(), itk::Concept::CopyConstructible< T >::CopyConstructible::Constraints::constraints(), itk::Concept::Signed< T >::Signed::Constraints::constraints(), itk::Concept::DefaultConstructible< T >::DefaultConstructible::Constraints::constraints(), itk::Concept::IsFloatingPoint< T >::IsFloatingPoint::Constraints::constraints(), itk::Concept::SameDimension< D1, D2 >::SameDimension::Constraints::constraints(), and RequireBooleanExpression().
void itk::Concept::Detail::RequireBooleanExpression | ( | const T & | t | ) | [inline] |
Concept checks may require that an expression be convertible to bool. Passing the expression to this function will enforce this requirement. (BOOST)
Definition at line 123 of file itkConceptChecking.h.
References IgnoreUnusedVariable().
Referenced by itk::Concept::GreaterThanComparable< T1, T2 >::GreaterThanComparable::Constraints::constraints(), itk::Concept::LessThanComparable< T1, T2 >::LessThanComparable::Constraints::constraints(), itk::Concept::EqualityComparable< T1, T2 >::EqualityComparable::Constraints::constraints(), and itk::Concept::Comparable< T1, T2 >::Comparable::Constraints::constraints().