BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::IsConvertible_Match Struct Reference

#include <bslmf_isconvertible.h>

Classes

struct  no_type
 
struct  yes_type
 

Static Public Member Functions

static yes_type match (IsConvertible_Match &)
 Return yes_type if called on IsConvertible_Match type.
 
template<class t_TYPE >
static no_type match (const t_TYPE &)
 
template<class t_TYPE >
static no_type match (const volatile t_TYPE &)
 
template<class t_TYPE >
static bsl::enable_if< bsl::is_function< t_TYPE >::value, no_type >::type match (t_TYPE &)
 

Detailed Description

This struct provides functions to check for successful conversion matches. Sun CC 5.2 requires that this struct not be nested within IsConvertible_Imp.

Member Function Documentation

◆ match() [1/4]

template<class t_TYPE >
static no_type bslmf::IsConvertible_Match::match ( const t_TYPE &  )
static

Return yes_type if the (template parameter) t_TYPE is IsConvertible_Match, and no_type otherwise.

◆ match() [2/4]

template<class t_TYPE >
static no_type bslmf::IsConvertible_Match::match ( const volatile t_TYPE &  )
static

Return yes_type if the (template parameter) t_TYPE is IsConvertible_Match and no_type otherwise.

◆ match() [3/4]

static yes_type bslmf::IsConvertible_Match::match ( IsConvertible_Match )
static

◆ match() [4/4]

template<class t_TYPE >
static bsl::enable_if< bsl::is_function< t_TYPE >::value, no_type >::type bslmf::IsConvertible_Match::match ( t_TYPE &  )
static

Return yes_type if the (template parameter) t_TYPE is IsConvertible_Match and no_type otherwise.


The documentation for this struct was generated from the following file: