Boost C++ Libraries: Ticket #6756: gcc gives compile error "error ‘boost_se_params_t_10::boost_se_param_t_0_10’ is not a type" in template function for ScopeExit. https://svn.boost.org/trac10/ticket/6756 <p> When using <a class="missing wiki">ScopeExit</a>, I found that gcc can't compile some sources. After error checking, gcc (4.4.3 in Ubuntu 10.04 and gcc 4.6.1 from MinGW) will raise compile error when I use <a class="missing wiki">ScopeExit</a> in template functions. For the code can't compile by gcc, you can find it in attachment. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6756 Trac 1.4.3 Lin, Yi-Li <record.nctu.cis91@…> Sun, 01 Apr 2012 14:13:25 GMT attachment set https://svn.boost.org/trac10/ticket/6756 https://svn.boost.org/trac10/ticket/6756 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> Ticket Steven Watanabe Sun, 01 Apr 2012 14:54:59 GMT <link>https://svn.boost.org/trac10/ticket/6756#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6756#comment:1</guid> <description> <p> You should be using BOOST_SCOPE_EXIT_TPL. </p> </description> <category>Ticket</category> </item> <item> <author>Lin, Yi-Li <record.nctu.cis91@…></author> <pubDate>Sun, 01 Apr 2012 15:04:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6756#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6756#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/6756#comment:1" title="Comment 1">steven_watanabe</a>: </p> <blockquote class="citation"> <p> You should be using BOOST_SCOPE_EXIT_TPL. </p> </blockquote> <p> Thank you! The error is gone now. Sorry that I didn't read the reference clearly. </p> </description> <category>Ticket</category> </item> </channel> </rss>