Can I initialize an STL vector with 10 of the same integer in an initializer list? My attempts so far have failed me.
I think you mean this:
struct test { std::vector v; test(int value) : v( 100, value ) {} };