mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
Compare-then-store is the recurring shape behind these values: read whether an incoming value differs from the last, store it, report only on a change. Document changedTo() as doing all three, and state the two constraints -- it is not synchronized, so it cannot replace an atomic read from another thread, and it requires a copyable T so its copy semantics match across builds. Recording.h declares Mirror beside Stopwatch and Counter, so its overview diagram lists Mirror too and its thread-safety note covers it.