mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-02-13 12:22:18 +00:00
Excluding MSVC from unsupported feature tests
This commit is contained in:
@@ -4,6 +4,12 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
|
||||
->*/
|
||||
|
||||
#include <callable_traits/bind.hpp>
|
||||
#ifdef CALLABLE_TRAITS_MSVC
|
||||
//feature is unsupported in MSVC
|
||||
int main(){ return 0; };
|
||||
#else
|
||||
|
||||
//[ make_function
|
||||
#include <functional>
|
||||
#include <callable_traits/function_type.hpp>
|
||||
@@ -94,3 +100,4 @@ int main() {
|
||||
assert(f(99, 1) == 100);
|
||||
}
|
||||
//]
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user