BDE 4.14.0 Production release
|
#include <bslmf_isconvertible.h>
Public Types | |
enum | { value } |
typedef bsl::integral_constant< bool, value > | 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
.
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.