19 Aug
2014
19 Aug
'14
4:47 p.m.
Back in 2011, Howard Hinnant and I put together an is_iterator type trait based on code Howard had developed and used over a period of time.
See http://beman.github.io/is_iterator/is_iterator.hpp for the actual code
See http://beman.github.io/is_iterator/is_iterator_test.cpp for a test program.
The intent was always to submit is_iterator to Boost, but we never got around to it. Now I need it in Boost.Filesystem, so I'd rather see it go in type traits than just sticking it into boost/filesystem/detail.
If there is interest, and John Maddock gives the OK, I'll write docs and integrate into type_traits, then submit a pull request.
I don't see why it shouldn't go in type_traits - in fact I think I've used something similar myself before. John.