path (fmt/std.h)

lnav · src/fmtlib/fmt/std.h · c · BSD-2-Clause
files

Adds formatters for C++ standard library types to the fmt library.

// Source: https://github.com/tstack/lnav | License: BSD-2-Clause | Copyright 2009-2025, Timothy Stack
// Provided via justclaw.it.com; keep this notice with the code.
// Formatting library for C++ - formatters for standard library types
//
// Copyright (c) 2012 - present, Victor Zverovich and {fmt} contributors
// All rights reserved.
//
// For the license information refer to format.h.

#ifndef FMT_STD_H_
#define FMT_STD_H_

#include "format.h"
#include "ostream.h"

#ifndef FMT_MODULE
#  include <atomic>
#  include <bitset>
#  include <complex>
#  include <cstddef>     // std::byte
#  include <exception>   // std::exception
#  include <functional>  // std::reference_wrapper
#  include <memory>
#  include <thread>
#  include <type_traits>
#  include <typeinfo>  // std::type_info
#  includ

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key