[#BSLSTL_STRING_ONLY_STRINGVIEW_ENABLE_IF_T]
= BSLSTL&lowbar;STRING&lowbar;ONLY&lowbar;STRINGVIEW&lowbar;ENABLE&lowbar;IF&lowbar;T
:mrdocs:

SFINAE alias for string&lowbar;view&hyphen;like types that are not C&hyphen;strings&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLSTL&lowbar;STRING&lowbar;ONLY&lowbar;STRINGVIEW&lowbar;ENABLE&lowbar;IF&lowbar;T(...)

----

== Description

SFINAE enable&lowbar;if type alias for types convertible to string&lowbar;view but NOT convertible to C&hyphen;string and NOT an accessible base of `bsl&colon;&colon;basic&lowbar;string` or `std&colon;&colon;basic&lowbar;string`&period; The result type is the macro argument if enabled&period; This is a variadic macro to support result types containing commas (e&period;g&period;, `basic&lowbar;string&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS, ALLOCATOR&gt;`)&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
