Hi,
2016-02-15 4:42 GMT+09:00 Mikhail Matrosov
Consider the following code snippet:
auto f = [](int x) { std::cout << x; };auto it = boost::make_function_output_iterator(f);decltype(it) it2 = it; // Ok, copied it2 = it; // Does not compile, cannot assign!
FYI, My library has `regular` function. The function convert function object to `DefaultConstructible` & `Assignable`. Documentation: http://htmlpreview.github.io/?https://github.com/faithandbrave/OvenToBoost/b... Implementation: https://github.com/Flast/OvenToBoost/blob/master/include/boost/range/regular... https://github.com/Flast/OvenToBoost/blob/master/include/boost/range/detail/... https://github.com/Flast/OvenToBoost/blob/master/include/boost/range/detail/... https://github.com/Flast/OvenToBoost/blob/master/include/boost/range/detail/... The Boost Range Extension library is now waiting review. http://www.boost.org/community/review_schedule.html And FYI, related pull request: https://github.com/boostorg/iterator/pull/20 Thanks, Akira
======================== Akira Takahashi http://faithandbrave.github.io/