Expand to an enable_if type alias for ResultType that is defined (i.e., SFINAE‐friendly) only when the STRING_VIEW_LIKE_TYPE template parameter is convertible to bsl::basic_string_view<CHAR_TYPE, CHAR_TRAITS> but is not convertible to const CHAR_TYPE *. The CHAR_TYPE and CHAR_TRAITS template parameters must be in scope. The specified ResultType (passed as a variadic argument) is the resulting type when both conditions are satisfied.

Synopsis

Declared in <bslstl_stringviewlikeparam.h>

#define BSLSTL_STRINGVIEWLIKEPARAM_ONLY_ENABLE_IF_T(…​)

Created with MrDocs