Quick Links:

bal | bbl | bdl | bsl

bsl::is_convertible< t_FROM_TYPE, t_TO_TYPE > Struct Template Reference
[Component bslmf_isconvertible]

#include <bslmf_isconvertible.h>


Detailed Description

template<class t_FROM_TYPE, class t_TO_TYPE>
struct bsl::is_convertible< t_FROM_TYPE, t_TO_TYPE >

This struct template implements the is_convertible_dispatch meta-function defined in the C++11 standard [meta.rel] to determine if the (template parameter) t_FROM_TYPE is convertible to the (template parameter) t_TO_TYPE. This struct derives from bsl::true_type if the t_FROM_TYPE is convertible to t_TO_TYPE, and from bsl::false_type otherwise. Note that both t_FROM_TYPE and t_TO_TYPE should be complete types, arrays of unknown bound, or (possibly cv-qualified) void types.

See Component bslmf_isconvertible


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