Subject: Re: [boost] Assign V2 - first impression
From: Christopher Jefferson (chris_at_[hidden])
Date: 2011-06-24 04:21:23
On 23 Jun 2011, at 18:06, er wrote:
> BOOST_AUTO( _r, ( _repeat = 2 ) );
> typedef function<int(int)> f_;
> BOOST_AUTO( _d, ( _data = f_( log10 ) ) );
> deque<int, push_front_>( _nil) % _d % _r,
> 1, 10, 100, 1000
> csv_deque( 3, 3, 2, 2, 1, 1, 0, 0 )
I am afraid to say I think you have been using your own library for too long. To me, that may as well be perl for all the sense it makes.
I am sure that it is a powerful library, but I really have no idea at all what is going on. I can't even parse the first line as valid C++ in any way. You need better examples, and also is that really the best way you could find to express repeating?