toast::dereference_iterator< Iterator > Class Template Reference
[toast iterator library]

#include <toast/iterator/dereference_iterator.hpp>

List of all members.


Detailed Description

template<typename Iterator>
class toast::dereference_iterator< Iterator >

turns iterators to pointers into iterators to pointees.

Internally you may have a container of pointers or a container of smart pointers. This will allow you to externally present iterators to the objects so your users don't have to care about the pointers.

If your pointer type is something other than raw pointer or boost::shared_ptr, you may have to specialize toast::pointer_triats for it.

Public Member Functions

 dereference_iterator (Iterator i)


The documentation for this class was generated from the following file:

SourceForge.net Logo