BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::IsConvertible_Imp< t_FROM_TYPE, t_TO_TYPE > Struct Template Reference

#include <bslmf_isconvertible.h>

Public Types

enum  { value }
 
typedef bsl::integral_constant< bool, valuetype
 

Detailed Description

template<class t_FROM_TYPE, class t_TO_TYPE>
struct bslmf::IsConvertible_Imp< t_FROM_TYPE, t_TO_TYPE >

This struct template implements the meta-function to determine type conversion between the (template parameter) t_FROM_TYPE and the (template parameter) t_TO_TYPE where the conversion to the t_TO_TYPE is not necessarily the same as conversion to const t_TO_TYPE&.

Note that significant documentation about the details of this implementation can be found in bslmf_isconvertible.cpp.

Member Typedef Documentation

◆ type

template<class t_FROM_TYPE , class t_TO_TYPE >
typedef bsl::integral_constant<bool, value> bslmf::IsConvertible_Imp< t_FROM_TYPE, t_TO_TYPE >::type

This typedef returns bsl::true_type if t_FROM_TYPE is convertible to t_TO_TYPE, and bsl::false_type otherwise.

Member Enumeration Documentation

◆ anonymous enum

template<class t_FROM_TYPE , class t_TO_TYPE >
anonymous enum
Enumerator
value 

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