
20 Oct
2006
20 Oct
'06
8:26 p.m.
Arkadiy Vertleyb wrote:
Also is there any interest in a typeof-independent facility to parse an STL iterator, something like:
is_iterator<It>::value; is_const<It>::value; deduce_container<It>::type;
Cool! template<class It> inline typename deduce_container<It>::type::const_iterator to_const(It it) { return it; } -- Alexander Nasonov Project Manager at Akmosoft ( http://www.akmosoft.com ) Blog: http://nasonov.blogspot.com Email: $(FirstName) dot $(LastName) at gmail dot com