Mercurial
>
botc
/ file comparison
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
latest
revisions
annotate
diff
comparison
raw
comparison: src/containers.h
src/containers.h
changeset 86
43fe4be38a58
parent 85
264a61e9eba0
equal
deleted
inserted
replaced
85:264a61e9eba0
86:43fe4be38a58
262
{
262
{
263
int i = 0;
263
int i = 0;
264
264
265
for (const element_type& hay : *this)
265
for (const element_type& hay : *this)
266
{
266
{
267
if (hay == needle)
267
if (&hay == &needle)
268
return i;
268
return i;
269
269
270
i++;
270
i++;
271
}
271
}
272
272