tomlplusplus/tests
Mark Gillard 3f4acc7c32 additonal path work
- re-ordered most of the `.inl` implementations to match the declaration order in the class body
- fixed a few missing cases of `noexcept`
- added additional operator overloads for +=
- added `operator==` and `operator!=` to `path_component`
- changed parse method to "parse into" so it could be re-used in more places without creating a temporary vector
- changed all binary operators to be 'hidden friends'
- moved the "to string" logic to a "print_to" for streams to avoid creating a temporary string in the ostream<< operator
- made the string conversion operators `explicit`
- renamed `string()` to `str()` to be consistent with `toml::key` and `std::stringstream`
- renamed `wstring()` to `wide_str()` to be consistent with `toml::source_region`
- renamed `parent_path()` to `parent()`
- removed the `const (w)char*` operator overloads - these were already sufficiently covered by the `std::(w)string_view` ones
- removed the `operator/` overloads - since we aren't a file path the `/` doesn't have the same meaning (also `operator+` was doing the same thing)
2022-06-05 00:14:50 +03:00
..
vs Path (#156) 2022-06-04 16:49:26 +03:00
at_path.cpp fixed inconsistent error messages for overlong ints/floats (closes #133) 2022-01-08 00:08:31 +02:00
conformance_burntsushi_invalid.cpp fixed UB in internal unicode machinery (closes #144) 2022-02-26 18:07:11 +02:00
conformance_burntsushi_valid.cpp added for_each() for tables and arrays 2022-04-24 21:02:55 +03:00
conformance_iarna_invalid.cpp updated conformance tests 2022-01-02 21:35:26 +02:00
conformance_iarna_valid.cpp fixed inconsistent error messages for overlong ints/floats (closes #133) 2022-01-08 00:08:31 +02:00
cpp.hint restructuring and minor refactoring 2021-04-18 22:58:41 +03:00
for_each.cpp added for_each() for tables and arrays 2022-04-24 21:02:55 +03:00
formatters.cpp minor refactor 2022-04-18 12:27:54 +03:00
impl_toml.cpp removed git submodules to fix various tooling issues (closes #151) 2022-05-01 12:20:03 +03:00
leakproof.h removed internal operator""_sz (ADL is a cruel mistress) 2021-10-26 16:49:23 +03:00
lib_catch2.h added meson option use_vendored_libs 2022-05-01 15:09:09 +03:00
main.cpp updated conformance tests 2022-01-02 21:35:26 +02:00
manipulating_arrays.cpp added prune() to table and array 2021-11-12 20:21:02 +02:00
manipulating_parse_result.cpp removed internal operator""_sz (ADL is a cruel mistress) 2021-10-26 16:49:23 +03:00
manipulating_tables.cpp minor cleanup 2021-11-07 22:33:02 +02:00
manipulating_values.cpp removed final from value, array and table 2021-10-31 17:58:42 +02:00
meson.build additonal path work 2022-06-05 00:14:50 +03:00
odr_test_1.cpp build(meson): add compile_library option 2022-02-12 22:04:16 +02:00
odr_test_2.cpp build(meson): add compile_library option 2022-02-12 22:04:16 +02:00
parsing_arrays.cpp removed internal operator""_sz (ADL is a cruel mistress) 2021-10-26 16:49:23 +03:00
parsing_booleans.cpp removed internal operator""_sz (ADL is a cruel mistress) 2021-10-26 16:49:23 +03:00
parsing_comments.cpp removed internal operator""_sz (ADL is a cruel mistress) 2021-10-26 16:49:23 +03:00
parsing_dates_and_times.cpp fixed incorrect clang+GCC flag in meson build script 2021-10-26 00:53:57 +03:00
parsing_floats.cpp added toml::format_flags::relaxed_float_precision 2022-01-08 16:32:06 +02:00
parsing_integers.cpp fixed date parsing when the year has a leading zero (closes #130) 2022-01-05 12:45:59 +02:00
parsing_key_value_pairs.cpp Updated support for unicode in bare keys 2022-04-23 12:58:15 +03:00
parsing_spec_example.cpp fixed incorrect clang+GCC flag in meson build script 2021-10-26 00:53:57 +03:00
parsing_strings.cpp Add support for \e (toml-lang/toml/pull/790) 2022-03-06 16:09:14 +02:00
parsing_tables.cpp added toml::key (closes #82) 2021-11-10 22:07:05 +02:00
path.cpp additonal path work 2022-06-05 00:14:50 +03:00
settings.h removed git submodules to fix various tooling issues (closes #151) 2022-05-01 12:20:03 +03:00
tests.cpp added formatter indentation flags (closes #120) 2021-10-27 16:10:57 +03:00
tests.h removed git submodules to fix various tooling issues (closes #151) 2022-05-01 12:20:03 +03:00
user_feedback.cpp relaxed cvref requirements of some functions 2022-05-31 14:02:01 +03:00
using_iterators.cpp removed double-bracket requirement for toml::table constructor 2021-10-26 23:53:27 +03:00
visit.cpp added tests for visit() 2022-04-23 17:28:25 +03:00
windows_compat.cpp removed final from value, array and table 2021-10-31 17:58:42 +02:00