Commit 6d012519 authored by Andrew Krieger's avatar Andrew Krieger Committed by Facebook Github Bot

Gate std::invoke_result et. al. to appropriate MSVC versions.

Summary: Only available in >= 2017 15.3, which is 1911+.

Reviewed By: aary, Orvid

Differential Revision: D6117237

fbshipit-source-id: 255804af5bfd0c743fd225b8a4fddf3cfc9cfeaf
parent e8252dd7
...@@ -61,7 +61,8 @@ constexpr auto invoke(M(C::*d), Args&&... args) ...@@ -61,7 +61,8 @@ constexpr auto invoke(M(C::*d), Args&&... args)
#endif #endif
#if __cpp_lib_is_invocable >= 201703 || _MSC_VER // Only available in >= MSVC 2017 15.3
#if __cpp_lib_is_invocable >= 201703 || _MSC_VER >= 1911
namespace folly { namespace folly {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment