|
Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
|
Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2021 Gothel Software e.K. More...
Namespaces | |
| namespace | impl |
Classes | |
| struct | PResult |
Enumerations | |
| enum class | plength_t { plength_t::hh , plength_t::h , plength_t::none , plength_t::l , plength_t::ll , plength_t::j , plength_t::z , plength_t::t , plength_t::L } |
| enum class | pstate_t { pstate_t::error , pstate_t::outside , pstate_t::start , pstate_t::field_width , pstate_t::precision } |
Functions | |
| template<typename... Targs> | |
| constexpr bool | check (const std::string_view fmt, const Targs &...) noexcept |
| Strict type validation of arguments against the format string. | |
| template<typename... Targs> | |
| constexpr bool | check2 (const std::string_view fmt) noexcept |
| Strict type validation of arguments against the format string. | |
| template<typename StrView, typename... Targs> | |
| constexpr bool | check3 (StrView fmt) noexcept |
| template<typename... Targs> | |
| constexpr PResult | checkR (const std::string_view fmt, const Targs &...) noexcept |
| Strict type validation of arguments against the format string. | |
| template<typename... Targs> | |
| constexpr PResult | checkR2 (const std::string_view fmt) noexcept |
| Strict type validation of arguments against the format string. | |
| static constexpr bool | isDigit (const char c) noexcept |
| std::ostream & | operator<< (std::ostream &out, const PResult &pc) |
| static constexpr const char * | to_string (plength_t s) noexcept |
| static constexpr const char * | to_string (pstate_t s) noexcept |
Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2021 Gothel Software e.K.
SPDX-License-Identifier: MIT
This Source Code Form is subject to the terms of the MIT License If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/license/mit/.
snprintf argument type checker jau::cfmtImplementation follows type conversion rules as described in Variadic Default Conversion
The following conversion specifiers are supported:
c, s, d, o, x, X, u, f, e, E, a, A, g, G, pi -> dF -> f-, +, , 0 and #* for field width and precisionThe following length modifiers are supported where allowed
hh [unsigned] charh [unsigned] shortl [unsigned] longll [unsigned] long longSee C++ Reference for details.