mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
modify namespace result_of -> results
support C++14 type_traits
This commit is contained in:
parent
d386893a74
commit
bf0c7021cf
350 changed files with 2628 additions and 1912 deletions
|
@ -168,8 +168,8 @@ namespace testspr {
|
|||
TESTSPR_BOTH_ASSERT((std::is_same<sprout::tuples::tuple_element<1, decltype(arr1)>::type, int const>::value));
|
||||
|
||||
// is_array
|
||||
TESTSPR_BOTH_ASSERT(sprout::is_array<decltype(arr1)>::value);
|
||||
TESTSPR_BOTH_ASSERT(!sprout::is_array<int>::value);
|
||||
TESTSPR_BOTH_ASSERT(sprout::is_array_class<decltype(arr1)>::value);
|
||||
TESTSPR_BOTH_ASSERT(!sprout::is_array_class<int>::value);
|
||||
|
||||
// sprout::to_hash, sprout::hash
|
||||
TESTSPR_BOTH_ASSERT(sprout::to_hash(arr1) == sprout::hash<decltype(arr1)>()(arr1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue