
4 Mar
2008
4 Mar
'08
1:21 a.m.
Wow, good guess. That was it. The "Reference" parameter has to be a reference type. This is what I unintenionally did wrong. Unfortunately the mistake didn't show in any other way than in these performance problems with std::distance. Thanks, Martin