Quick Links: |
#include <bdlb_variant.h>
Public Types | |
enum | { value, VALUE } |
Static Public Member Functions | |
template<class T > | |
static Variant_ReturnValueHelper_YesType | match (typename bsl::remove_reference< typename T::ResultType >::type *) |
template<class T > | |
static Variant_ReturnValueHelper_NoType | match (...) |
This struct is a component-private meta-function. Do not use. This meta-function checks whether the template parameter type VISITOR
has the member ResultType
defined using "SFINAE" (Substitution Failure Is Not An Error).
static Variant_ReturnValueHelper_YesType bdlb::Variant_ReturnValueHelper< VISITOR >::match | ( | typename bsl::remove_reference< typename T::ResultType >::type * | ) | [static] |
static Variant_ReturnValueHelper_NoType bdlb::Variant_ReturnValueHelper< VISITOR >::match | ( | ... | ) | [static] |
Return YesType
if T::ResultType
exists, and NoType
otherwise. Note that if T::ResultType
exists, then the first function is a better match than the ellipsis version.