* Implement full CMake support
* Document CMake build steps
* Reduce upstream Boost dependencies
* Update README
* Only clone the required subset of Boost libraries
* Fix Jamfile
* Use CMake for tests
* Update README
* Fix Windows build
* Simplify README
* Fix Windows build
* Fix Windows CI
* Fix warnings
* Fix Windows CI
* Force colors in MSBuild
* Fix warnings
* Use concepts for attribute category overload resolution
`x3::traits::move_to`: Dump tag dispatching and use concepts for
overload resolution. This drastically improves compilation speed and
prints significantly concise errors on ill-formed programs, thanks to
the reduced nesting level on the entire control flow of X3. Also
partially (but not yet completely) improves #346 due to reduced MPL usage.
`x3::detail::parse_into_container`: Ditto.
`support/traits/optional_traits.hpp`:
`BOOST_SPIRIT_X3_USE_BOOST_OPTIONAL`: new macro.
Default to `boost::optional` unless above macro is defined as `0`. Implements
`std::optional` handling regardless of the value; fixes#270.
Note that most test suites are intentionally not defining above macro as `1`
(yet) to make sure the change does not break existing codes.
`x3::optional`: Ideally this should've split into a separate PR, but the
new attribute category handling requires the overhaul on this.
`core/proxy.hpp`: Removed. `x3::optional` was the only derived parser
which used this feature for years. We shouldn't support any overly
generic 'core' features whose extandable use case is unknown even to the
core components.
`extract_int`, etc.: Adjusted to properly "move" the local attribute
variable before passing it to `x3::traits::move_to`.
`char_parser`: Ditto, but this constructs temporary value instead of
applying `std::as_const`. Const references are costly for primitive type
like `Char` thus prvalue should be constructed here.
tests: No semantic changes intended. All changes exists solely for
adapting to the new attribute category handling (implementation details.)
* Fix incorrect `noexcept` specification
* Compensate for potential GCC bug on constraint satisfaction
It turns out that GCC 14 does not like the form below, resulting
in silently defining the flipped value (!) without raising any sort of
hard/soft errors in well-formed code.
```
struct S : std::bool_constant<requires(...) { ... }> {};
```
* Use the correct path to retrieve action cache
<638ed79f9d/restore (ensuring-proper-restores-and-save-happen-across-the-actions)>
> It is very important to use the same key and path that were used by either actions/cache or actions/cache/save while saving the cache.
* Define the concept of "parser" in X3
Also modernizes the entry points and the most fundamental "x3::parser"
base class.
Includes overhaul on `any_parser` as it operates on iterator/sentinal
now.
Deprecate `any_parser`. The reasoning is described in the comments.
* [X3] Bump C++ version to C++23
* Set correct compilers for C++23
* Avoid recursive instantiation on `unary_parser`
* Update Ubuntu 22.04 -> 24.04
* Specify correct flags for clang++/g++ detection
* Move deprecation warning of `any_parser` to its constructor
I plan to keep the warning for two releases before starting to utilize C++17 features.
Since Boost 1.81 (scheduled to November 2022) supported compilers will be:
* Clang 4 (currently 3.6)
* GCC 7 (currently 5)
* VS 2017 (currently 2015)