[#BSLSTL_STRINGVIEWLIKEPARAM_ONLY_ENABLE_IF_T]
= BSLSTL&lowbar;STRINGVIEWLIKEPARAM&lowbar;ONLY&lowbar;ENABLE&lowbar;IF&lowbar;T
:mrdocs:

Expand to an `enable&lowbar;if` type alias for `ResultType` that is defined (i&period;e&period;, SFINAE&hyphen;friendly) only when the `STRING&lowbar;VIEW&lowbar;LIKE&lowbar;TYPE` template parameter is convertible to `bsl&colon;&colon;basic&lowbar;string&lowbar;view&lt;CHAR&lowbar;TYPE, CHAR&lowbar;TRAITS&gt;` but is _not_ convertible to `const CHAR&lowbar;TYPE &ast;`&period; The `CHAR&lowbar;TYPE` and `CHAR&lowbar;TRAITS` template parameters must be in scope&period; The specified `ResultType` (passed as a variadic argument) is the resulting type when both conditions are satisfied&period;

== Synopsis

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

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

----


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