mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-12 21:49:51 +01:00
Fix regression in how the table_iterator defines its reference type
This commit is contained in:
@@ -621,7 +621,8 @@ public:
|
||||
using value_type=Value;
|
||||
using pointer=
|
||||
typename std::conditional<Const,value_type const*,value_type*>::type;
|
||||
using reference=value_type&;
|
||||
using reference=
|
||||
typename std::conditional<Const,value_type const&,value_type&>::type;
|
||||
using iterator_category=std::forward_iterator_tag;
|
||||
using element_type=
|
||||
typename std::conditional<Const,value_type const,value_type>::type;
|
||||
|
||||
Reference in New Issue
Block a user