xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::tools::IsStringViewConstructible< Type > Struct Template Reference

Determines if a type can be constructed from a string view. More...

#include <tools/TypeTraits.hpp>

Detailed Description

template<typename Type>
struct xentara::utils::tools::IsStringViewConstructible< Type >

Determines if a type can be constructed from a string view.

This trait checks whether the type can be constructed from a const reference to exactly one of std::string_view, std::wstring_view, std::u8string_view, std::u16string_view, and std::u32string_view, according to the rules of std::is_constructible.

See also
std::is_convertible, StringViewConstructible, IsNothrowStringViewConstructible