Boost Users :
Subject: Re: [Boost-users] [review][assign] Formal review of Assign v2 ongoing
From: er (er.ci.2020_at_[hidden])
Date: 2011-06-24 06:27:59
Copy from devel:
> 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?
If I try to imagine what the interface would look like after taking into
account some of the suggestions that were made, this sentence:
"Create data elements by mapping 1, 10, 100, 1000 by function f, and
insert each result in cont by invoking modifier push_front."
push_front<1>( cont ) % ( _data = f ) % ( _repeat = n )
)( 1, 10, 100, 1000 );
- is it more readable, now?
- What if each example was preceded by its English equivalent. Is this a
bit of stretch or a reasonable approach?
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