X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FIteratorTraits.hh;h=e044a74781d53c51199aa4de587c4c5db99d1565;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=bb2fa5a54c9b7b27da23962ef979fec8efd83836;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/IteratorTraits.hh b/senf/Utils/IteratorTraits.hh index bb2fa5a..e044a74 100644 --- a/senf/Utils/IteratorTraits.hh +++ b/senf/Utils/IteratorTraits.hh @@ -54,7 +54,7 @@ namespace senf { } template - void do(Iterator i, boost::true_type) + void do(Iterator i, boost::true_type) { typename Iterator::pointer p (senf::storage_iterator(i)); // Manipulate the container by manipulating the data pointed at via 'p' @@ -71,7 +71,7 @@ namespace senf { Thie \ref senf::storage_iterator helper function will convert an iterator to a pointer to the same element the iterator is referencing. - + This trait will return \c true for pointers. Additonally it should be configured to return true for all standard containers which obey above implementation restrictions. This typically includes \c std::vector and \c std::basic_string. @@ -95,7 +95,7 @@ namespace senf { {}; /** \brief Convert contiguous storage iterator to pointer - + storage_iterator will convert a contiguous storage iterator into a pointer to the same element in the container. This allows to directly access the containers storage. @@ -104,7 +104,7 @@ namespace senf { */ template typename std::iterator_traits::pointer storage_iterator(Iterator i); - + } ///////////////////////////////hh.e////////////////////////////////////////