19 #ifndef OST_MOL_IMPL_POINTER_ITERATOR_HH
20 #define OST_MOL_IMPL_POINTER_ITERATOR_HH
24 namespace ost {
namespace mol {
namespace impl {
29 using iterator_category = std::forward_iterator_tag;
31 using difference_type = std::ptrdiff_t;
75 return pointer_it<T>(values.empty() ? NULL :
const_cast<T*
>(&values.front()));
81 return pointer_it<T>(values.empty() ? NULL :
const_cast<T*
>(&values.back()+1));
bool operator==(const pointer_it< T > &rhs) const
bool operator!=(const pointer_it< T > &rhs) const
pointer_it< T > & operator+(int rhs)
pointer_it< T > & operator++()
pointer_it< T > end(const std::vector< T > &values)
pointer_it< T > begin(const std::vector< T > &values)