
On 4/13/23 06:07, Francois Kritzinger via Boost wrote:
On 2023/03/13 14:07, Andrey Semashev via Boost wrote:
On 3/13/23 15:00, Boris Kolpackov via Boost wrote:
A quick note on our experience reducing dependency on Boost.Regex (and thus ICU) in build2 packages for Boost 1.81.0. Now only the following (leaf) libraries unconditionally depend on Boost.Regex:
* Boost.Convert * Boost.DLL * Boost.Log
Boost.Log can be configured to use std::regex or Boost.Xpressive as an alternative to Boost.Regex.
However Boost.Log also depends on Boost.Spirit which depends on Boost.Regex so that's a hard dependency.
To my knowledge, Boost.Log doesn't use the bits of Boost.Spirit that use Boost.Regex. This means, if you build Boost.Log that uses e.g. std::regex internally, it will not link with Boost.Regex.