|
@@ -1479,9 +1479,9 @@ public:
|
|
|
using difference_type = std::ptrdiff_t;
|
|
using difference_type = std::ptrdiff_t;
|
|
|
/*! @brief Type of elements returned by the iterator. */
|
|
/*! @brief Type of elements returned by the iterator. */
|
|
|
using value_type = meta_any;
|
|
using value_type = meta_any;
|
|
|
- /*! @brief Pointer type, `void` on purpose. */
|
|
|
|
|
|
|
+ /*! @brief Pointer type, it's a _safe_ temporary object. */
|
|
|
using pointer = input_iterator_proxy<value_type>;
|
|
using pointer = input_iterator_proxy<value_type>;
|
|
|
- /*! @brief Reference type, it is **not** an actual reference. */
|
|
|
|
|
|
|
+ /*! @brief Reference type, it's **not** an actual reference. */
|
|
|
using reference = value_type;
|
|
using reference = value_type;
|
|
|
/*! @brief Iterator category. */
|
|
/*! @brief Iterator category. */
|
|
|
using iterator_category = std::input_iterator_tag;
|
|
using iterator_category = std::input_iterator_tag;
|
|
@@ -1685,9 +1685,9 @@ public:
|
|
|
using difference_type = std::ptrdiff_t;
|
|
using difference_type = std::ptrdiff_t;
|
|
|
/*! @brief Type of elements returned by the iterator. */
|
|
/*! @brief Type of elements returned by the iterator. */
|
|
|
using value_type = std::pair<meta_any, meta_any>;
|
|
using value_type = std::pair<meta_any, meta_any>;
|
|
|
- /*! @brief Pointer type, `void` on purpose. */
|
|
|
|
|
|
|
+ /*! @brief Pointer type, it's a _safe_ temporary object. */
|
|
|
using pointer = input_iterator_proxy<value_type>;
|
|
using pointer = input_iterator_proxy<value_type>;
|
|
|
- /*! @brief Reference type, it is **not** an actual reference. */
|
|
|
|
|
|
|
+ /*! @brief Reference type, it's **not** an actual reference. */
|
|
|
using reference = value_type;
|
|
using reference = value_type;
|
|
|
/*! @brief Iterator category. */
|
|
/*! @brief Iterator category. */
|
|
|
using iterator_category = std::input_iterator_tag;
|
|
using iterator_category = std::input_iterator_tag;
|