|
Boost : |
Subject: Re: [boost] Assign V2 - first impression
From: er (er.ci.2020_at_[hidden])
Date: 2011-06-24 16:02:57
> I anticipated that this would be a problem and already provided some
> remedy (I won't delve on it), but did not push the reasoning far enough.
> The next step, I think, is to try to get back to functions, as you
> suggest, but free functions, not member functions. I already proposed a
>
> Consequently, using the first form, the use of operator% would appear,
> only for additional options:
>
> ( push_front<1>( cont ) % ( _data = f ) % ( _repeat = n ) )( 1, 10, 100,
> 1000 );
>
I still hadn't pushed the reasoning far enough but another participant
completed it :
push_front<1>( cont, _data = f, _repeat = n )( 1, 10, 100, 1000 );
Although it appears in another message, I wanted to make sure it wasn't
missed.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk