This struct template implements a meta-function to determine if the (template parameter) t_TYPE is convertible to const t_CHAR_TYPE *.
Declared in <bslstl_isconvertibletocstring.h>
template<
class t_CHAR_TYPE,
class t_TYPE>
struct IsConvertibleToCString
: bsl::is_convertible<t_TYPE, t_CHAR_TYPE const*>
| Name | Description |
|---|---|
bsl::is_convertible<t_TYPE, t_CHAR_TYPE const*> | Meta-function for detecting implicit convertibility between types. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type | Alias for the (template parameter) t_TYPE. |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator t_TYPE | Return a copy of the template argument t_VALUE. |
| Name | Description |
|---|---|
value | The compile-time constant value of this metafunction. |
| Name | Description |
|---|---|
IsConvertibleToCString<t_CHAR_TYPE, t_CHAR_TYPE const(&)[]> | Treat unbounded array references as convertible to const t_CHAR_TYPE *. |