
10 Sep
2025
10 Sep
'25
3:46 p.m.
Am 10.09.2025 um 17:19 schrieb Vinnie Falco via Boost:
On Wed, Sep 10, 2025 at 8:08 AM Gennaro Prota via Boost < boost@lists.boost.org> wrote:
BOOST_STATIC_CONSTANT
This macro sounds ancient. I've never seen it before, or used it. Probably safe to remove :) Rarely used? I find it in just 711 out of 58'459 files in Boost 1.89
What's really bugging me is the use of BOOST_CONSTEXPR_OR_CONST at namespace scope in header files. You can easily end up in TU-local entities which are deprecated in traditional compilations, and outright forbidden in modules / header units. I have replaced them with BOOST_INLINE_CONSTEXPR in some libraries to get an actually usable module Boost. Dani -- PGP/GPG: 2CCB 3ECB 0954 5CD3 B0DB 6AA0 BA03 56A1 2C4638C5