MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
format.hpp
Go to the documentation of this file.
1
/*
2
3
Copyright 2025 Matthew Tolman
4
5
Licensed under the Apache License, Version 2.0 (the "License");
6
you may not use this file except in compliance with the License.
7
You may obtain a copy of the License at
8
9
http://www.apache.org/licenses/LICENSE-2.0
10
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
17
*/
18
19
#ifndef MTCORE_FORMAT_HPP
20
#define MTCORE_FORMAT_HPP
21
22
#include "
mtcore/colls/slice.hpp
"
23
#include "
mtcore/traits.hpp
"
24
29
31
namespace
mtcore::io
{
36
struct
FormatOptions
{
37
Slice<const char>
formatStr
;
38
};
39
44
template
<
typename
T>
45
struct
Formatter
;
46
}
// namespace mtcore
47
48
#endif
// MTCORE_FORMAT_HPP
slice.hpp
traits.hpp
mtcore::io
Definition
file_sys.hpp:34
mtcore::Slice
A Slice which is just a pointer + length Accessing elements through the array operator will do bounds...
Definition
colls/slice.hpp:46
mtcore::io::FormatOptions
Options for specifying formatting.
Definition
format.hpp:36
mtcore::io::FormatOptions::formatStr
Slice< const char > formatStr
Definition
format.hpp:37
mtcore::io::Formatter
Struct to override to specify how a type should be formatted.
Definition
format.hpp:45
include
core
mtcore
io
format.hpp
Generated on Thu Jun 5 2025 22:26:17 for MT Core (C++) by
1.13.2