August 2017
Intermediate to advanced
438 pages
14h 19m
English
This is going to be a simplest task of this book, thanks to the Boost.Container library:
#include <boost/container/small_vector.hpp>
void process_transaction_2() { boost::container::small_vector<operation, 8> ops; while (has_operation()) { ops.push_back(get_operation()); } execute_operations(ops); // ...}
Read now
Unlock full access