mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
rename ptr_index, ptr_unindex
This commit is contained in:
parent
899bf3fa77
commit
a5e14e71e1
10 changed files with 75 additions and 41 deletions
|
@ -31,9 +31,9 @@ namespace sprout {
|
|||
inline SPROUT_CONSTEXPR wchar_t const*
|
||||
wmemchr(wchar_t const* s, wchar_t c, size_t n) {
|
||||
return sprout::detail::wmemchr_impl(
|
||||
sprout::as_iterator_base(
|
||||
sprout::ptr_unindex(
|
||||
sprout::find(
|
||||
sprout::as_iterator(s), sprout::as_iterator(s, n),
|
||||
sprout::ptr_index(s), sprout::ptr_index(s, n),
|
||||
c
|
||||
)
|
||||
),
|
||||
|
@ -44,9 +44,9 @@ namespace sprout {
|
|||
inline SPROUT_CONSTEXPR wchar_t*
|
||||
wmemchr(wchar_t* s, wchar_t c, size_t n) {
|
||||
return sprout::detail::wmemchr_impl(
|
||||
sprout::as_iterator_base(
|
||||
sprout::ptr_unindex(
|
||||
sprout::find(
|
||||
sprout::as_iterator(s), sprout::as_iterator(s, n),
|
||||
sprout::ptr_index(s), sprout::ptr_index(s, n),
|
||||
c
|
||||
)
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue