compile.mpl.vector.erb.cpp 376 B

1234567891011121314
  1. // Copyright Louis Dionne 2013-2017
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
  4. #include <boost/mpl/push_back.hpp>
  5. #include <boost/mpl/vector.hpp>
  6. template <int i>
  7. struct t { };
  8. using vector = <%= mpl_vector((1..input_size).to_a.map { |n| "t<#{n}>" }) %>;
  9. int main() { }