|
Boost Users : |
Subject: Re: [Boost-users] Copy MPL sequence at runtime?
From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2010-03-18 04:37:37
Rutger ter Borg schrieb:
> Rhys Ulerich wrote:
>
> Good morning,
>
> 0) the "only" run-time stuff in the MPL is mpl::for_each.
>
Chapter 9 of the book c++ template metaprogramming from Abrahams and
Gurtovoy gives an explanation about mpl::for_each with type visitation.
hth
Cheers,
Kim
> 1) See attached, I guess this could be considered a bit cleaner.
> 2) Probably easiest by writing a function that does the type deduction for
> you.
>
>
>
>
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