mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Delete unary operator&() for dynamic_bitset::reference
Reason: That's better than declaring it as private and leaving it undefined.
This commit is contained in:
@@ -182,11 +182,11 @@ public:
|
||||
// -------------------------------------------------------------------
|
||||
reference( block_type & b, int pos );
|
||||
|
||||
//! Left undefined.
|
||||
// -------------------------------------------------------------------
|
||||
void operator&();
|
||||
|
||||
public:
|
||||
//! Deleted address-of operator.
|
||||
// -------------------------------------------------------------------
|
||||
void operator&() = delete;
|
||||
|
||||
//! Copy constructor.
|
||||
//!
|
||||
//! Constructs a `reference` which refers to the same bit as
|
||||
|
||||
Reference in New Issue
Block a user