Skip to content

added feature of obtaining scalar varaible from a function w/o the default

With this feature additional approach to monitoring a single object can be used. That is, user can provide functor that is called when the value needs to be obtained. The usecase was to monitor collection size.

auto size = Monitored::Scalar("cellsSize", [&](){ return cells->size(); })

Tagging @fwinkl

Merge request reports

Loading