[#mp_units-basic_fixed_string-08-2constructor-0c] = xref:mp_units.adoc[mp_units]::xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string]::basic_fixed_string :relfileprefix: ../../ :mrdocs: Constructs the string from an input range of exactly `N` characters == Synopsis Declared in `<mp‐units/ext/fixed_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *from_range_tag* | Tag disambiguating this overload as taking a range | *r* | The range of characters to copy from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#