3 ms·
If you want your iterator to be fast, its implementation will be in a header file, at which point the C++ compiler can inline and omit the copy entirely.
by cynicalkane 10y ago
If you want your iterator to be fast, its implementation will be in a header file, at which point the C++ compiler can inline and omit the copy entirely.
- Someone 10y agoOf course, but that isn't making an assumption, as the OP said the compiler might do.