I have a simple class, which three interesting
methods:
- current
- advance
- eof

I had a custom wrapper which converts any class which such methods (and some 
typedefs) and now I want to use iterator adaptors library. What is the best 
approach? I can roll a new policy class, of course. 

But I think the above set of operation is quite handy when one wants to create 
a new input iterator. The wrapped class is also close to Generator, with 
added 'eof' method. So, I wonder, if I should strive to make something 
reusable, which can be added to the library?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to