mirror of
https://github.com/boostorg/asio.git
synced 2026-02-22 13:42:08 +00:00
Fix detection of return type deduction with MSVC.
This commit is contained in:
@@ -418,7 +418,11 @@
|
||||
# if (__cpp_return_type_deduction >= 201304)
|
||||
# define BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION 1
|
||||
# endif // (__cpp_return_type_deduction >= 201304)
|
||||
# endif // defined(__cpp_return_type_deduction)
|
||||
# elif defined(BOOST_ASIO_MSVC)
|
||||
# if (_MSC_VER >= 1900 && _MSVC_LANG >= 201402)
|
||||
# define BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION 1
|
||||
# endif // (_MSC_VER >= 1900 && _MSVC_LANG >= 201402)
|
||||
# endif // defined(BOOST_ASIO_MSVC)
|
||||
# endif // !defined(BOOST_ASIO_DISABLE_RETURN_TYPE_DEDUCTION)
|
||||
#endif // !defined(BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user