Merging boost/iterator from trunk to release (usability improvement after latest fix to function_input_iterator).

[SVN r80813]
This commit is contained in:
Jeffrey Lee Hellrung, Jr.
2012-10-02 01:14:36 +00:00
parent 9025bbfc2a
commit c9463e941f

View File

@ -37,8 +37,10 @@ namespace boost {
: f(&f_), state(state_) {}
void increment() {
BOOST_ASSERT(value);
value = none;
if(value)
value = none;
else
(*f)();
++state;
}
@ -72,8 +74,10 @@ namespace boost {
: f(f_), state(state_) {}
void increment() {
BOOST_ASSERT(value);
value = none;
if(value)
value = none;
else
(*f)();
++state;
}