[#mp_units-basic_fixed_string-08-2constructor-0e] = 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 a range of exactly `N` characters given by an iterator/sentinel pair == Synopsis Declared in `<mp‐units/ext/fixed_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::input_iterator It, std::sentinel_for<It> S> requires std::same_as<std::iter_value_t<It>, CharT> [[nodiscard]] constexpr basic_fixed_string( It begin, S end); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *begin* | Iterator to the first character | *end* | Sentinel marking the end of the character sequence |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#