mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
State that exists only to be reported was being written with preprocessor branches at each site, which put #ifdef through business logic and gave the owning class a different member set per build. Document kEnabled, Stopwatch and Counter, and the two constraints that decide whether they fit a site: a no-op method still evaluates its arguments, and if constexpr still type-checks the branch it discards.