Hello,
How can I create a Boost Range for multiple vectors without setting any limitation to the number of vector at compile time?
Using Boost 1.70 and it is not an option to store all data in one vector.
The following code compile on Visual Studio 2017 and will output the number 1 to 9. However, this code is compiled to support 3 vectors inside the foo struct. In order to support 4 vectors I would need to re-compile the code. The number of vectors is only known at runtime. How can this code be improved to support a dynamic number of vectors ?
#include <iostream>
#include <vector>
#include