|
Boost : |
Subject: Re: [boost] [mpl] is there a or_seq like logical metafunction?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-02-13 12:36:31
On 02/12/09 17:16, Larry Evans wrote:
[snip]
> when only the last one is really needed. Which
> leads to the obvious (at least now) optimization
> of just making State as the last element in the
> eval_if super of while_.
I tried this with results shown in boost vault/Template
Metaprogramming/and_seq_profile.while_no_else.zip.
This "op[timization" was ineffective. There were
303 instantiations vs. the 297 in the original
version :( .
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk