Constructs the string from an input range of exactly N characters
Synopsis
Declared in <mp‐units/ext/fixed_string.h>
template<std::ranges::input_range R>
requires std::same_as<std::ranges::range_value_t<R>, CharT>
[[nodiscard]]
constexpr
basic_fixed_string(
std::from_range_t from_range_tag,
R&& r);
Return Value
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
from_range_tag |
Tag disambiguating this overload as taking a range |
r |
The range of characters to copy from |
Created with MrDocs