forked from boostorg/function
Use built-in deprecation facilities, when available
[SVN r14677]
This commit is contained in:
1 parent
837591456f
commit
694ebbb301
3 files changed
+22
-9
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user