Boost C++ Libraries: Ticket #7092: Fix odd workarounds for function object in for_each_pixel https://svn.boost.org/trac10/ticket/7092 <p> Current implementation for for_each_pixel is somehow re-assigning the functor to its own variable. <br /> </p> <p> This becomes a serious problem <strong>when using a C++11 lambda-expression</strong> for the functor. <br /> </p> <p> Since the copy assignment operator for lambda-expressions is declared <em>deleted</em> by the standards, this makes it unable to pass lambda-expression for the functor of for_each_pixel. Obviously this is a serious problem for writing C++11 style codes.<br /> <br /> See attached patch for suggested workaround. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7092 Trac 1.4.3 Nana Sakisaka <n.sakisaka@…> Thu, 05 Jul 2012 21:44:45 GMT attachment set https://svn.boost.org/trac10/ticket/7092 https://svn.boost.org/trac10/ticket/7092 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch</span> </li> </ul> Ticket Mateusz Loskot Thu, 16 Feb 2017 10:49:48 GMT cc set https://svn.boost.org/trac10/ticket/7092#comment:1 https://svn.boost.org/trac10/ticket/7092#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">mateusz@…</span> added </li> </ul> Ticket Stefan Seefeld Sat, 01 Jul 2017 21:13:59 GMT owner changed https://svn.boost.org/trac10/ticket/7092#comment:2 https://svn.boost.org/trac10/ticket/7092#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Hailin Jin</span> to <span class="trac-author">Stefan Seefeld</span> </li> </ul> Ticket Mateusz Loskot Fri, 21 Sep 2018 16:53:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7092#comment:3 https://svn.boost.org/trac10/ticket/7092#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Fix submitted via <a class="missing wiki">GitHub</a> <a class="ext-link" href="https://github.com/boostorg/gil/pull/139"><span class="icon">​</span>https://github.com/boostorg/gil/pull/139</a> pending review </p> Ticket Mateusz Loskot Sun, 23 Sep 2018 19:27:21 GMT milestone changed https://svn.boost.org/trac10/ticket/7092#comment:4 https://svn.boost.org/trac10/ticket/7092#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.69</span> </li> </ul> <p> FYI, the PR with fix has been accepted. Thanks! </p> Ticket