forked from boostorg/function
Both Sun and Pgi on Linux correctly put typeinfo into the std
namespace, but function_base keys off the BOOST_NO_EXCEPTION_STD_NAMESPACE macro instead of the BOOST_NO_STD_TYPEINFO macro. The attached patch changes function_base to use the typeinfo macro. Because eVC 4.2 doesn't put typeinfo into the std namespace, I need to define BOOST_NO_STD_TYPEINFO only for this eVC version. [SVN r49571]
This commit is contained in:
@ -42,7 +42,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Define BOOST_FUNCTION_STD_NS to the namespace that contains type_info.
|
// Define BOOST_FUNCTION_STD_NS to the namespace that contains type_info.
|
||||||
#ifdef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
#ifdef BOOST_NO_STD_TYPEINFO
|
||||||
// Embedded VC++ does not have type_info in namespace std
|
// Embedded VC++ does not have type_info in namespace std
|
||||||
# define BOOST_FUNCTION_STD_NS
|
# define BOOST_FUNCTION_STD_NS
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user