15 Aug
2005
15 Aug
'05
9:37 p.m.
perhaps something like this is needed?
template< class Char > inline Char* str_end( Char* s ) { - return (Char*)str_end( s, s ); + return const_cast
(str_end( s, s )); what's the difference? A c-style cast is also a const-cast.
You didn't just say that.
Apparently I did. What's the difference in the generated object code? -Thorsten