Constructors

Synopses

Declared in <mp‐units/ext/fixed_string.h>

Copy constructor

constexpr
basic_fixed_string(basic_fixed_string const& other) noexcept = default;

Construct from CharT

consteval
explicit(false)
basic_fixed_string(CharT const(& txt)[]) noexcept;

Construct from Chars

template<std::same_as<CharT>... Chars>
requires (sizeof...(Chars) == N) && (... && !std::is_pointer_v<Chars>)
constexpr
explicit
basic_fixed_string(Chars... chars) noexcept;
template<std::ranges::input_range R>
requires std::same_as<std::ranges::range_value_t<R>, CharT>
constexpr
basic_fixed_string(
    std::from_range_t,
    R&& r);
template<
    std::input_iterator It,
    std::sentinel_for<It> S>
requires std::same_as<std::iter_value_t<It>, CharT>
constexpr
basic_fixed_string(
    It begin,
    S end);
template<
    std::input_iterator It,
    std::sentinel_for<It> S>
requires std::same_as<std::iter_value_t<It>, CharT>
constexpr
basic_fixed_string(
    It begin,
    S end);

Created with MrDocs