1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add type_traits is_invocable

This commit is contained in:
bolero-MURAKAMI 2017-09-19 20:01:44 +09:00
parent 2614c4e3f9
commit 8158baa39f
10 changed files with 287 additions and 34 deletions

View file

@ -15,6 +15,8 @@
#include <iostream>
#include <iomanip>
#include <sprout/config.hpp>
#include <sprout/preprocessor/config.hpp>
#include <sprout/preprocessor/stringize.hpp>
#include <sprout/container.hpp>
#include <sprout/detail/io/ios_state.hpp>
#include <testspr/typeinfo.hpp>
@ -181,4 +183,15 @@ namespace testspr {
}
} // namespace testspr
//
// TESTSPR_PRINT_EXPR
//
#if SPROUT_PP_VARIADICS
# define TESTSPR_PRINT_EXPR(...) \
::testspr::print_ln(SPROUT_PP_STRINGIZE((__VA_ARGS__)), " => ", __VA_ARGS__)
#else
# define TESTSPR_PRINT_EXPR(EXPR) \
::testspr::print_ln(SPROUT_PP_STRINGIZE((EXPR)), " => ", EXPR)
#endif
#endif // #ifndef TESTSPR_PRINT_HPP