
On 20:59, Mathias Gaunard wrote:
On 10/02/2011 21:38, Anders Dalvander wrote:
* It is (currently) using some C++0X features (mainly decltype).
I'm fairly sure that's unnecessary, aren't there range_traits that expose the type directly? Also, for inclusion in Boost, it should probably use boost::begin, not std::begin.
Otherwise, there is not much to say without a real implementation to look at.
Yes, you are correct, the use of decltype is totally unnecessary. I fixed that and the other issue you mentioned. I've uploaded an implementation to http://www.dalvander.com/boost_text if anyone is interested. Some notes: * The iterator classes should probably derive from iterator_adaptor. * Currently there is no way to prevent exceptions from being thrown. * Sometime the validity checking will be a bit redundant. * The documentation is currently minimalistic. Regards, Anders Dalvander -- WWFSMD?