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

add non-member function nth(), index_of()

This commit is contained in:
bolero-MURAKAMI 2015-03-23 00:26:20 +09:00
parent 6a9cda9d4c
commit c3636c10d2
7 changed files with 390 additions and 6 deletions

View file

@ -54,7 +54,7 @@ namespace testspr {
#define TESTSPR_STATIC_ASSERT(expr) \
static_assert(expr, #expr)
#define TESTSPR_ASSERT(expr) \
((void)sprout::detail::assertion_check((expr), SPROUT_ASSERTION_FAILED_FORMAT(expr, __FILE__, __LINE__)))
SPROUT_ASSERT(expr)
//
// TESTSPR_BOTH_ASSERT
//