jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
string_cfmt2.hpp File Reference
#include <sys/types.h>
#include <cassert>
#include <cerrno>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <string>
#include <string_view>
#include <type_traits>
#include <iostream>
#include <jau/byte_util.hpp>
#include <jau/cpp_lang_util.hpp>
#include <jau/packed_attribute.hpp>
#include <jau/type_traits_queries.hpp>
#include <jau/cpp_pragma.hpp>
Include dependency graph for string_cfmt2.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jau::cfmt2::impl::Parser< T >
 
struct  jau::cfmt2::PResult
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::cfmt2
 Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2024 Gothel Software e.K.
 
namespace  jau::cfmt2::impl
 

Enumerations

enum class  jau::cfmt2::impl::no_type_t
 
enum class  jau::cfmt2::plength_t {
  jau::cfmt2::plength_t::hh , jau::cfmt2::plength_t::h , jau::cfmt2::plength_t::none , jau::cfmt2::plength_t::l ,
  jau::cfmt2::plength_t::ll , jau::cfmt2::plength_t::j , jau::cfmt2::plength_t::z , jau::cfmt2::plength_t::t ,
  jau::cfmt2::plength_t::L
}
 
enum class  jau::cfmt2::pstate_t {
  jau::cfmt2::pstate_t::error , jau::cfmt2::pstate_t::outside , jau::cfmt2::pstate_t::start , jau::cfmt2::pstate_t::field_width ,
  jau::cfmt2::pstate_t::precision
}
 

Functions

template<typename... Targs>
constexpr bool jau::cfmt2::check (const std::string_view fmt, const Targs &...) noexcept
 Strict type validation of arguments against the format string.
 
template<typename... Targs>
constexpr bool jau::cfmt2::check2 (const std::string_view fmt) noexcept
 Strict type validation of arguments against the format string.
 
template<typename... Targs>
constexpr const PResult jau::cfmt2::checkR (const std::string_view fmt, const Targs &...) noexcept
 Strict type validation of arguments against the format string.
 
template<typename... Targs>
constexpr const PResult jau::cfmt2::checkR2 (const std::string_view fmt) noexcept
 Strict type validation of arguments against the format string.
 
constexpr const PResult jau::cfmt2::impl::checkRec (const PResult ctx) noexcept
 
template<typename Targ, typename... Tnext>
constexpr const PResult jau::cfmt2::impl::checkRec (const PResult ctx) noexcept
 
static constexpr bool jau::cfmt2::isDigit (const char c) noexcept
 
std::ostream & jau::cfmt2::operator<< (std::ostream &out, const PResult &pc)
 
static constexpr const char * jau::cfmt2::to_string (plength_t s) noexcept
 
static constexpr const char * jau::cfmt2::to_string (pstate_t s) noexcept
 

Variables

static constexpr bool jau::cfmt2::impl::verbose_error = true