Boost C++ Libraries: Ticket #5109: assignment operator could not be generated VC 2008 https://svn.boost.org/trac10/ticket/5109 <p> I get the folowing warnings when using BOOST_SCOPE_EXIT from boost/scope_exit.hpp in VC 2008 SP1 </p> <pre class="wiki">1&gt;D:\Programming\boost_1_45_0\boost/scope_exit.hpp(84) : warning C4512: 'boost::scope_exit::aux::member&lt;T,Tag&gt;' : assignment operator could not be generated 1&gt; with 1&gt; [ 1&gt; T=test::boost_se_params_t_0::boost_se_param_t_0_0, 1&gt; Tag=boost_se_tag_0_0 1&gt; ] 1&gt; .\test.cpp(7) : see reference to class template instantiation 'boost::scope_exit::aux::member&lt;T,Tag&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; T=test::boost_se_params_t_0::boost_se_param_t_0_0, 1&gt; Tag=boost_se_tag_0_0 1&gt; ] 1&gt;.\test.cpp(7) : warning C4512: 'test::boost_se_params_t_0' : assignment operator could not be generated 1&gt; .\test.cpp(7) : see declaration of 'test::boost_se_params_t_0' </pre><p> This happens under boost 1.45. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5109 Trac 1.4.3 anonymous Fri, 03 Jun 2011 11:36:57 GMT <link>https://svn.boost.org/trac10/ticket/5109#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5109#comment:1</guid> <description> <p> it happens under boost 1.46.1 and visual studio 2010 too </p> </description> <category>Ticket</category> </item> <item> <dc:creator>nasonov</dc:creator> <pubDate>Thu, 18 Aug 2011 21:53:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5109#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5109#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5109#comment:1" title="Comment 1">anonymous</a>: </p> <blockquote class="citation"> <p> it happens under boost 1.46.1 and visual studio 2010 too </p> </blockquote> <p> I don't have Windows environment to test. I assume that boost_se_tag_0_0 is ref_tag? If so, can add undefined operator= to member&lt;T,ref_tag&gt; and to struct BOOST_SCOPE_EXIT_AUX_PARAMS_T(id)? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>nasonov</dc:creator> <pubDate>Thu, 18 Aug 2011 22:30:56 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/5109 https://svn.boost.org/trac10/ticket/5109 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">5109.txt</span> </li> </ul> <p> Please test this patch, </p> Ticket Valentin Shtronda <valiko.ua@…> Tue, 12 Feb 2013 13:10:57 GMT <link>https://svn.boost.org/trac10/ticket/5109#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5109#comment:3</guid> <description> <p> 2 nasonov: Same with VC2012 and boost 1.53. Can you please update the patch for testing? Thanks. </p> </description> <category>Ticket</category> </item> <item> <author>Valentin Shtronda <valiko.ua@…></author> <pubDate>Mon, 04 Mar 2013 18:21:13 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/5109 https://svn.boost.org/trac10/ticket/5109 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">scope_exit.hpp.patch</span> </li> </ul> <p> This is how I removed warnings that I see. </p> Ticket anonymous Tue, 16 Sep 2014 08:54:44 GMT <link>https://svn.boost.org/trac10/ticket/5109#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5109#comment:4</guid> <description> <p> Same thing in boost 1.55. Are you going to fix it or not? </p> </description> <category>Ticket</category> </item> </channel> </rss>