Closed burner closed 11 years ago
const
to T[]
and U[]
when T
and U
are template parameters?
The template already accepts const
and immutable
arrays without extra const
.for
statement with intention-revealing foreach
range statement.
(But more to improve the readability than the performance of the code.)
the passed in arrays can be const
the length to travel need only be computed once.
I have another commit in place to remove some redundancy and also to add printf style assert message which are extremely handy.