[#BloombergLP-bslstl-IsConvertibleToStringView-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::IsConvertibleToStringView :relfileprefix: ../../ :mrdocs: Meta‐function for detecting types convertible to a string view. == Synopsis Declared in `<bslstl_isconvertibletostringview.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_CHAR_TYPE, class t_CHAR_TRAITS, class t_TYPE> struct IsConvertibleToStringView : xref:bsl/is_convertible.adoc[bsl::is_convertible<t_TYPE, bsl::basic_string_view<t_CHAR_TYPE, t_CHAR_TRAITS>>] ---- == Description This `struct` template implements a meta‐function to determine if the (template parameter) `t_TYPE` is convertible to `bsl::basic_string_view<t_CHAR_TYPE, t_CHAR_TRAITS>`. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/is_convertible.adoc[bsl::is_convertible<t_TYPE, bsl::basic_string_view<t_CHAR_TYPE, t_CHAR_TRAITS>>]` | Meta‐function for detecting implicit convertibility between types. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/type.adoc[`type`] | Alias for this `integral_constant` specialization. | xref:bsl/integral_constant-02/value_type.adoc[`value_type`] | Alias for the (template parameter) `t_TYPE`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/operator_call.adoc[`operator()`] | Return a copy of the template argument `t_VALUE`. | xref:bsl/integral_constant-02/2conversion.adoc[`operator t_TYPE`] | Return a copy of the template argument `t_VALUE`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:bsl/integral_constant-02/value.adoc[`value`] | The compile‐time constant value of this metafunction. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/IsConvertibleToStringView-0b.adoc[`IsConvertibleToStringView<t_CHAR_TYPE, t_CHAR_TRAITS, t_CHAR_TYPE const(&)[]>`] | Partial specialization of `IsConvertibleToStringView` for unbounded arrays. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#