diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:44:05 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:44:05 +0300 |
| commit | 0b24459ac12b6cf9fd5a401d647796ca254a8fa8 (patch) | |
| tree | f2fd66e2476976a51e2a51330fd95dc6e87b24c1 /tomlplusplus/src/modules/tomlplusplus.cppm | |
| parent | b85e90fc3480da0e6a48da73201a0b22488cc650 (diff) | |
| parent | 1c8b7466e4946fcc3bf20484c0e1d001202cca5a (diff) | |
| download | Project-Tick-0b24459ac12b6cf9fd5a401d647796ca254a8fa8.tar.gz Project-Tick-0b24459ac12b6cf9fd5a401d647796ca254a8fa8.zip | |
Add 'tomlplusplus/' from commit '1c8b7466e4946fcc3bf20484c0e1d001202cca5a'
git-subtree-dir: tomlplusplus
git-subtree-mainline: b85e90fc3480da0e6a48da73201a0b22488cc650
git-subtree-split: 1c8b7466e4946fcc3bf20484c0e1d001202cca5a
Diffstat (limited to 'tomlplusplus/src/modules/tomlplusplus.cppm')
| -rw-r--r-- | tomlplusplus/src/modules/tomlplusplus.cppm | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/tomlplusplus/src/modules/tomlplusplus.cppm b/tomlplusplus/src/modules/tomlplusplus.cppm new file mode 100644 index 0000000000..e1860c4878 --- /dev/null +++ b/tomlplusplus/src/modules/tomlplusplus.cppm @@ -0,0 +1,88 @@ +/** + * @file tomlpp.cppm + * @brief File containing the module declaration for toml++. + */ + +module; + +#define TOML_UNDEF_MACROS 0 +#include <toml++/toml.hpp> + +export module tomlplusplus; + +/** + * @namespace toml + * @brief The toml++ namespace toml:: + */ +export namespace toml { + /** + * @namespace literals + * @brief The toml++ namespace toml::literals:: + */ + inline namespace literals { + using TOML_NAMESPACE::literals::operator""_toml; + using TOML_NAMESPACE::literals::operator""_tpath; + } + + using TOML_NAMESPACE::array; + using TOML_NAMESPACE::date; + using TOML_NAMESPACE::date_time; + using TOML_NAMESPACE::inserter; + using TOML_NAMESPACE::json_formatter; + using TOML_NAMESPACE::key; + using TOML_NAMESPACE::node; + using TOML_NAMESPACE::node_view; + using TOML_NAMESPACE::parse_error; + using TOML_NAMESPACE::parse_result; + using TOML_NAMESPACE::path; + using TOML_NAMESPACE::path_component; + using TOML_NAMESPACE::source_position; + using TOML_NAMESPACE::source_region; + using TOML_NAMESPACE::table; + using TOML_NAMESPACE::time; + using TOML_NAMESPACE::time_offset; + using TOML_NAMESPACE::toml_formatter; + using TOML_NAMESPACE::value; + using TOML_NAMESPACE::yaml_formatter; + using TOML_NAMESPACE::format_flags; + using TOML_NAMESPACE::node_type; + using TOML_NAMESPACE::path_component_type; + using TOML_NAMESPACE::value_flags; + using TOML_NAMESPACE::array_iterator; + using TOML_NAMESPACE::const_array_iterator; + using TOML_NAMESPACE::const_table_iterator; + using TOML_NAMESPACE::default_formatter; + using TOML_NAMESPACE::inserted_type_of; + using TOML_NAMESPACE::optional; + using TOML_NAMESPACE::source_index; + using TOML_NAMESPACE::source_path_ptr; + using TOML_NAMESPACE::table_iterator; + + using TOML_NAMESPACE::at_path; + using TOML_NAMESPACE::get_line; + using TOML_NAMESPACE::operator""_toml; + using TOML_NAMESPACE::operator""_tpath; + using TOML_NAMESPACE::operator<<; + using TOML_NAMESPACE::parse; + using TOML_NAMESPACE::parse_file; + + using TOML_NAMESPACE::is_array; + using TOML_NAMESPACE::is_boolean; + using TOML_NAMESPACE::is_chronological; + using TOML_NAMESPACE::is_container; + using TOML_NAMESPACE::is_date; + using TOML_NAMESPACE::is_date_time; + using TOML_NAMESPACE::is_floating_point; + using TOML_NAMESPACE::is_integer; + using TOML_NAMESPACE::is_key; + using TOML_NAMESPACE::is_key_or_convertible; + using TOML_NAMESPACE::is_node; + using TOML_NAMESPACE::is_node_view; + using TOML_NAMESPACE::is_number; + using TOML_NAMESPACE::is_string; + using TOML_NAMESPACE::is_table; + using TOML_NAMESPACE::is_time; + using TOML_NAMESPACE::is_value; + + using TOML_NAMESPACE::preserve_source_value_flags; +} |
