DGtal 1.4.0
|
Aim: Concept checking for Unsigned numbers. Models of this concept should be listed in NumberTraits class and should have the isUnsigned property. More...
#include <DGtal/kernel/CUnsignedNumber.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CUnsignedNumber) | |
Private Attributes | |
NumberTraits< T >::IsUnsigned | myIsUnsigned |
Aim: Concept checking for Unsigned numbers. Models of this concept should be listed in NumberTraits class and should have the isUnsigned property.
Description of concept 'CUnsignedNumber'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
---|---|---|---|---|---|---|---|
X should be tagged true in NumberTraits for IsUnsigned. | typename NumberTraits<X>::IsUnsigned | TagTrue |
unsigned short, unsigned int, unsigned long long, uint16_t, uint32_t, uint64_t.
Definition at line 94 of file CUnsignedNumber.h.
|
inline |
Definition at line 98 of file CUnsignedNumber.h.
References DGtal::concepts::ConceptUtils::checkTrue(), and DGtal::concepts::CUnsignedNumber< T >::myIsUnsigned.
|
private |
Definition at line 109 of file CUnsignedNumber.h.
Referenced by DGtal::concepts::CUnsignedNumber< T >::BOOST_CONCEPT_USAGE().