Boost C++ Libraries: Ticket #3576: On Borland-Error E2029 enable_if_does_not_work_on_this_compiler<void> must be a class or a structure previously define https://svn.boost.org/trac10/ticket/3576 <p> Hello </p> <p> I'm working with Boost on Borland® Developer Studio for Microsoft® Windows™ Version 10.0.2288.42451 and I encounter this error : </p> <p> Error E2029 enable_if_does_not_work_on_this_compiler&lt;void&gt; must be a class or a structure previously define </p> <p> In the file enable_if.hpp at line 100 </p> <p> template &lt;class Cond, class T = detail::enable_if_default_T&gt; </p> <blockquote> <p> struct enable_if : enable_if_does_not_work_on_this_compiler&lt;T&gt; { }; </p> </blockquote> <p> As you can see Borland can't use SFINAE and so used the part of the code which doesn't use it. But even in a new projet without any code, only #include &lt;boost/filesystem.hpp&gt; the error happen. I found nothing on the web about it, so if you know the problem I will be glad to know it. </p> <p> Thank you. </p> <p> Coralie VESSIERES </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3576 Trac 1.4.3 Steven Watanabe Thu, 29 Oct 2009 16:11:07 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3576#comment:1 https://svn.boost.org/trac10/ticket/3576#comment:1 <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> Duplicates <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3575" title="#3575: Bugs: On Borland-Error E2029 enable_if_does_not_work_on_this_compiler&lt;void&gt; ... (closed: wontfix)">#3575</a>. </p> Ticket