| 513 | CharT _data[N + 1] = {}; |
| 514 | |
| 515 | constexpr explicit(false) fixed_string(const CharT (&str)[N + 1]) noexcept { |
| 516 | if constexpr (N != 0) { |
| 517 | for (std::size_t i = 0; i < N; ++i) { |
| 518 | _data[i] = str[i]; |
| 519 | } |
| 520 | } |
| 521 | } |
| 522 | |
| 523 | [[nodiscard]] constexpr std::size_t size() const noexcept { return N; } |
| 524 | [[nodiscard]] constexpr bool empty() const noexcept { return N == 0; } |
nothing calls this directly
no outgoing calls
no test coverage detected