[boost] Vector with compile-time polymorphism