#include <folly/Format.h>
#include <cassert>
#include <folly/ConstexprMath.h>
#include <folly/CppAttributes.h>
#include <folly/Portability.h>
#include <folly/container/Array.h>
#include <double-conversion/double-conversion.h>
namespace folly {
namespace detail {
struct format_table_align_make_item { … };
template <std::size_t Base, std::size_t Size, bool Upper = false>
struct format_table_conv_make_item { … };
struct format_table_sign_make_item { … };
FOLLY_STORAGE_CONSTEXPR auto formatAlignTable = …;
FOLLY_STORAGE_CONSTEXPR auto formatSignTable = …;
FOLLY_STORAGE_CONSTEXPR decltype(formatHexLower) formatHexLower = …;
FOLLY_STORAGE_CONSTEXPR decltype(formatHexUpper) formatHexUpper = …;
FOLLY_STORAGE_CONSTEXPR decltype(formatOctal) formatOctal = …;
FOLLY_STORAGE_CONSTEXPR decltype(formatBinary) formatBinary = …;
}
usingnamespacefolly::detail;
void FormatValue<double>::formatHelper(
fbstring& piece, int& prefixLen, FormatArg& arg) const { … }
void FormatArg::initSlow() { … }
void FormatArg::validate(Type type) const { … }
namespace detail {
void insertThousandsGroupingUnsafe(char* start_buffer, char** end_buffer) { … }
}
FormatKeyNotFoundException::FormatKeyNotFoundException(StringPiece key)
: … { … }
}