3 #include "utilities/aligned/vector.h" 8 template <
typename T,
typename Ret =
typename T::return_type>
12 : postprocessor_{std::move(t)} {}
14 template <
typename... Ts>
16 : postprocessor_{std::forward<Ts>(ts)...} {}
18 template <
typename... Ts>
19 void operator()(Ts&&... ts) {
20 output_.emplace_back(postprocessor_(std::forward<Ts>(ts)...));
23 const auto& get_output()
const {
return output_; }
26 util::aligned::vector<Ret> output_;
31 auto make_callback_accumulator(T t) {
Definition: capsule_base.h:9
Definition: callback_accumulator.h:9