iceberg-cpp
Loading...
Searching...
No Matches
Classes
formatter.h File Reference
#include <concepts>
#include <format>
#include <string_view>
#include "iceberg/util/formattable.h"

Go to the source code of this file.

Classes

struct  std::formatter< Derived >
 Make all classes deriving from iceberg::util::Formattable formattable with std::format. More...
 
struct  std::formatter< T >
 std::formatter specialization for any type that has a ToString function More...
 

Detailed Description

A specialization of std::formatter for Formattable objects. This header is separate from iceberg/util/formattable.h so that the latter (which is meant to be included widely) does not leak <format> unnecessarily into other headers. You must include this header to format a Formattable.