Use built-in deprecation facilities, when available

[SVN r14677]
This commit is contained in:
Douglas Gregor committed 2002-08-05 03:08:08 +00:00
1 parent 837591456f
commit 694ebbb301
3 files changed
+22 -9

No files matched your search

+8
View File
@@ -31,6 +31,14 @@
# define BOOST_FUNCTION_TARGET_FIX(x)
#endif // not MSVC
#if defined (BOOST_MSVC) && (BOOST_MSVC >= 1300)
# define BOOST_FUNCTION_DEPRECATED_PRE __declspec(deprecated)
# define BOOST_FUNCTION_DEPRECATED_INSIDE
#else
# define BOOST_FUNCTION_DEPRECATED_PRE
# define BOOST_FUNCTION_DEPRECATED_INSIDE int deprecated;
#endif
namespace boost {
namespace detail {
namespace function {