mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-01 00:01:37 +01:00
* Add tests for member of pointer operator for bucket iterators * Fix erroneous conversion from node* to value_type* in bucket iterators Originally caughy by vslashg from PR https://github.com/boostorg/unordered/pull/220 * Update change log * Update GHA config to use containers in C++20 builds for clang-14 as it's incompatible with libstdc++-13 * fixed Python installation problem * tried variation of former fix * tried another variation of former fix * tried yet another variation * editorial --------- Co-authored-by: Christian Mazakas <christian.mazakas@gmail.com>
This commit is contained in:
@@ -318,7 +318,10 @@ namespace boost {
|
||||
|
||||
reference operator*() const noexcept { return dereference(); }
|
||||
|
||||
pointer operator->() const noexcept { return boost::to_address(p); }
|
||||
pointer operator->() const noexcept
|
||||
{
|
||||
return std::addressof(dereference());
|
||||
}
|
||||
|
||||
grouped_local_bucket_iterator& operator++() noexcept
|
||||
{
|
||||
@@ -386,7 +389,10 @@ namespace boost {
|
||||
|
||||
reference operator*() const noexcept { return dereference(); }
|
||||
|
||||
pointer operator->() const noexcept { return boost::to_address(p); }
|
||||
pointer operator->() const noexcept
|
||||
{
|
||||
return std::addressof(dereference());
|
||||
}
|
||||
|
||||
const_grouped_local_bucket_iterator& operator++() noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user