24 const T *begin =
nullptr, *end =
nullptr;
82 INLINE explicit operator bool()
const {
83 return data !=
nullptr;
#define SPH_ASSERT(x,...)
#define SPH_ASSERT_UNEVAL(x,...)
#define INLINE
Macros for conditional compilation based on selected compiler.
#define NAMESPACE_SPH_END
Few non-standard type traits.
Simple (forward) iterator over continuous array of objects of type T.
INLINE Iterator operator+(const TCounter n) const
std::random_access_iterator_tag iterator_category
INLINE bool operator==(const Iterator &iter) const
ptrdiff_t difference_type
INLINE bool operator>(const Iterator &iter) const
INLINE void operator-=(const TCounter n)
INLINE bool operator!=(const Iterator &iter) const
INLINE Iterator operator++(int)
INLINE Iterator & operator--()
INLINE bool operator>=(const Iterator &iter) const
INLINE const TValue & operator*() const
INLINE Iterator operator-(const TCounter n) const
INLINE const T * operator->() const
typename UnwrapReferenceType< T >::Type TValue
INLINE void operator+=(const TCounter n)
INLINE Iterator operator--(int)
INLINE TValue & operator*()
INLINE difference_type operator-(const Iterator &iter) const
INLINE Iterator & operator++()
Iterator(T *data, const T *begin, const T *end)
INLINE bool operator<(const Iterator &iter) const
INLINE bool operator<=(const Iterator &iter) const