BDE 4.14.0 Production release
|
#include <bslmf_matcharithmetictype.h>
Public Member Functions | |
template<class t_TYPE > | |
MatchArithmeticType (t_TYPE, typename bsl::enable_if< bsl::is_arithmetic< t_TYPE >::value||bsl::is_enum< t_TYPE >::value >::type *=0) | |
IMPLICIT Conversion constructor. Does nothing. | |
MatchArithmeticType (const MatchArithmeticType &)=default | |
~MatchArithmeticType ()=default | |
This copy-constructible mechanism can be used as a formal parameter for functions where an arithmetic type can be confused with an iterator type. A copy-constructible mechanism is needed so that such objects can be used as function arguments.
Note that if a type has a user-defined conversion to arithmetic value, this will not match because passing such an object would require two user-defined conversions.
|
inline |
|
default |
|
default |