Opened 13 years ago
Closed 13 years ago
#3576 closed Bugs (duplicate)
On Borland-Error E2029 enable_if_does_not_work_on_this_compiler<void> must be a class or a structure previously define
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | None |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Duplicates #3575.