aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/include/kstd/bits/format/arg.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/include/kstd/bits/format/arg.hpp')
-rw-r--r--libs/kstd/include/kstd/bits/format/arg.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/libs/kstd/include/kstd/bits/format/arg.hpp b/libs/kstd/include/kstd/bits/format/arg.hpp
new file mode 100644
index 0000000..92e6431
--- /dev/null
+++ b/libs/kstd/include/kstd/bits/format/arg.hpp
@@ -0,0 +1,26 @@
+#ifndef KSTD_BITS_FORMAT_ARG_HPP
+#define KSTD_BITS_FORMAT_ARG_HPP
+
+// IWYU pragma: private, include <kstd/format>
+
+#include "fwd.hpp"
+
+#include <cstddef>
+
+namespace kstd
+{
+
+ struct format_arg
+ {
+ using format_function_type = auto(void const * value, format_parse_context & parse_context,
+ format_context & context) -> void;
+ using get_size_function_type = auto(void const * value) -> std::size_t;
+
+ void const * value_pointer;
+ format_function_type * format_function;
+ get_size_function_type * get_size_function;
+ };
+
+} // namespace kstd
+
+#endif \ No newline at end of file