#include "assert.hpp"#include "int_constant.hpp"#include "string_span.hpp"#include "types.hpp"#include <cstring>Go to the source code of this file.
Classes | |
| class | eagine::fixed_size_string< N > |
| String with maximum fixed-size internal storage. More... | |
Namespaces | |
| eagine | |
| Common code is placed in this namespace. | |
Functions | |
| template<span_size_t N> | |
| static auto | eagine::make_fixed_size_string (const char(&str)[N]) noexcept |
| Creates a fixed_size_string from a C-string literal. | |
| template<span_size_t N1, span_size_t N2> | |
| static auto | eagine::operator+ (const fixed_size_string< N1 > &s1, const fixed_size_string< N2 > &s2) noexcept |
| Concatenation operator for fixed_size_string. | |
| template<int I> | |
| static auto | eagine::to_fixed_size_string (int_constant< I >, std::enable_if_t<(I >=0) &&(I< 10)> *=nullptr) noexcept |
| Converts a single-digit decimal number into fixed_size_string. | |
| template<int I> | |
| static auto | eagine::to_fixed_size_string (int_constant< I >, std::enable_if_t<(I > 9)> *=nullptr) noexcept |
| Converts a multi-digit decimal number into fixed_size_string. | |
| template<int I> | |
| static auto | eagine::to_fixed_size_string (int_constant< I >, std::enable_if_t<(I< 0)> *=nullptr) noexcept |
| Converts a negative decimal number into fixed_size_string. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt