mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
support for C++14: memcmp, memchr
This commit is contained in:
parent
4182fb3fea
commit
e0ccfedaaa
8 changed files with 80 additions and 9 deletions
|
@ -14,7 +14,8 @@ namespace testspr {
|
|||
|
||||
{
|
||||
SPROUT_STATIC_CONSTEXPR auto found = sprout::memchr(buf, b, 12);
|
||||
TESTSPR_BOTH_ASSERT(sprout::distance(buf, reinterpret_cast<unsigned char const*>(found)) == 8);
|
||||
TESTSPR_BOTH_ASSERT(buf + 8 == found);
|
||||
// TESTSPR_BOTH_ASSERT(sprout::distance(buf, reinterpret_cast<unsigned char const*>(found)) == 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue