Boost logo

Boost Users :

Subject: [Boost-users] mpl Generate integral sequence wrapper from 0 to N
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-02-19 21:42:46


Hi,

 

Given a size_t N known at compile, what's the cleanest way to generate

mpl::vector_c<size_t, 0, 1, .., N>

 

what is the fastest way compile-time wise?

 

what is the most mpl algos reusing way?

 

Regards,



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net