mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
Possibility to build OCCT using Visual Studio 2008 (VC9) is restored. For that: - template functions and classes from namespace std or tr1 (for VC9) are imported to namespace opencascade which is then used instead of std in relevant places - templates not provided by compiler (VC9) but required for OCCT are defined in this namespace (in Standard_Handle.hxx) - methods implementing move semantics are excluded for VC9 compiler (which does not support && syntax) - support of vc9 compiler is restored in build procedures and environment scripts - check of type of the current class in macros DEFINE_STANDARD_RTTI* is refactored VS 2008 is restored in the list of supported platforms on Overview / System Requirements.
This commit is contained in:
@@ -152,7 +152,7 @@ public:
|
||||
//! classes derived from IGESData_IGESEntity, for VC++ 10 and 11 compillers
|
||||
template <class T>
|
||||
void Send (const Handle(T)& val, Standard_Boolean negative = Standard_False,
|
||||
typename std::enable_if<std::is_base_of<IGESData_IGESEntity, T>::value>::type * = 0)
|
||||
typename opencascade::std::enable_if<opencascade::std::is_base_of<IGESData_IGESEntity, T>::value>::type * = 0)
|
||||
{
|
||||
Send ((const Handle(IGESData_IGESEntity)&)val, negative);
|
||||
}
|
||||
|
Reference in New Issue
Block a user