nf_hist::tracked::init_data

Initializes the stored data with the given input, this initialization is tracked of initTracked is true If there's an active action or any stored actions a logic_error will be thrown

Synopsis

Declared in <nf/hist.h>

template<bool Init_tracked = false>
void
init_data(auto&& data);

Parameters

Name

Description

data

The value to initialize the stored data to

Created with MrDocs