libd ~master (2021-08-29T21:20:58Z)
Dub
Repo
indexOf
libd
algorithm
search
Undocumented in source. Be warned that the author may not have intended to support it.
size_t
indexOf
(HaystackT haystack, NeedleT needle)
size_t
indexOf
(HaystackT haystack, NeedleT needle)
@
nogc
nothrow
size_t
indexOf
(
HaystackT
NeedleT
alias
Comparator
=
(
a
,
b
)
=>
a
==
b
)
(
const
auto
ref
HaystackT
haystack
,
const
auto
ref
NeedleT
needle
)
Meta
Source
See Implementation
libd
algorithm
search
functions
indexOf
indexOfAscii
variables
INDEX_NOT_FOUND