Files
rippled/include
Pratik Mankawde 0006ebb81f fix(telemetry): require a copyable T in Mirror
Mirror holds a plain T when telemetry is compiled in and nothing at all when
it is not. For a non-copyable T that means the class inherits T's deleted copy
in one build and is an empty, freely copyable type in the other -- a
per-configuration difference in the class's own interface, which is what these
types exist to avoid, and a compile-time one rather than merely semantic.

store() assigns to the member, so a copyable T is required regardless. Assert
it in the class body so the requirement is enforced in both builds instead of
being stated only in the @tparam text.
2026-08-27 12:55:51 +01:00
..