di 0.1.0
Loading...
Searching...
No Matches
to_string.h
Go to the documentation of this file.
1#pragma once
2
5#include "di/format/format.h"
6
7namespace di::fmt {
8namespace detail {
9 struct ToStringFunction {
10 constexpr auto operator()(concepts::Formattable auto&& value) const { return format(u8"{}"_sv, value); }
11 };
12}
13
14constexpr inline auto to_string = detail::ToStringFunction {};
15}
16
17namespace di {
18using fmt::to_string;
19}
Definition bounded_format_context.h:7
constexpr auto format
Definition format.h:7
constexpr auto to_string
Definition to_string.h:14
__UINT8_TYPE__ u8
Definition integers.h:9
Definition any_storable.h:9