[Boost-bugs] [Boost C++ Libraries] #3575: On Borland-Error E2029 enable_if_does_not_work_on_this_compiler<void> must be a class or a structure previously define

Subject: [Boost-bugs] [Boost C++ Libraries] #3575: On Borland-Error E2029 enable_if_does_not_work_on_this_compiler<void> must be a class or a structure previously define
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-29 14:15:31


#3575: On Borland-Error E2029 enable_if_does_not_work_on_this_compiler<void> must
be a class or a structure previously define
---------------------------------------+------------------------------------
 Reporter: coralie.vessieres@… | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: None
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
---------------------------------------+------------------------------------
 Hello

 I'm working with Boost on Borland® Developer Studio for Microsoft®
 Windowsâ„¢ Version 10.0.2288.42451 and I encounter this error :

 Error E2029 enable_if_does_not_work_on_this_compiler<void> must be a class
 or a structure previously define

 In the file enable_if.hpp at line 100

 template <class Cond, class T = detail::enable_if_default_T>
   struct enable_if : enable_if_does_not_work_on_this_compiler<T>
   { };

 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 <boost/filesystem.hpp> the error happen. I found nothing on the
 web about it, so if you know the problem I will be glad to know it.

 Thank you.

 Coralie VESSIERES

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3575>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC