mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00

committed by
Jesse Beder

parent
84459a7f98
commit
850ec4f39e
@@ -41,7 +41,7 @@ class iterator_base {
|
|||||||
using value_type = V;
|
using value_type = V;
|
||||||
using difference_type = std::ptrdiff_t;
|
using difference_type = std::ptrdiff_t;
|
||||||
using pointer = V*;
|
using pointer = V*;
|
||||||
using reference = V;
|
using reference = V&;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
iterator_base() : m_iterator(), m_pMemory() {}
|
iterator_base() : m_iterator(), m_pMemory() {}
|
||||||
|
@@ -69,7 +69,7 @@ class node_iterator_base {
|
|||||||
using value_type = node_iterator_value<V>;
|
using value_type = node_iterator_value<V>;
|
||||||
using difference_type = std::ptrdiff_t;
|
using difference_type = std::ptrdiff_t;
|
||||||
using pointer = node_iterator_value<V>*;
|
using pointer = node_iterator_value<V>*;
|
||||||
using reference = node_iterator_value<V>;
|
using reference = node_iterator_value<V>&;
|
||||||
using SeqIter = typename node_iterator_type<V>::seq;
|
using SeqIter = typename node_iterator_type<V>::seq;
|
||||||
using MapIter = typename node_iterator_type<V>::map;
|
using MapIter = typename node_iterator_type<V>::map;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user