xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::tools::IsNothrowStringViewConstructible< Type > Struct Template Reference

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

#include <xentara/utils/tools/TypeTraits.hpp>

Detailed Description

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

Determines if a type can be constructed from a string view without throwing exceptions.

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, and that the construction is noexcept.

See also
std::is_nothrow_convertible, StringViewConstructible, IsStringViewConstructible