mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
Replace D1 operator overloads with D2 operator overloads - Part 2
This commit is contained in:
parent
07034ea4e6
commit
f14acfecb1
1 changed files with 2 additions and 1 deletions
|
@ -1816,7 +1816,8 @@ public:
|
||||||
/***************************************
|
/***************************************
|
||||||
* Support for unary operator ~ for `BitArray`.
|
* Support for unary operator ~ for `BitArray`.
|
||||||
*/
|
*/
|
||||||
BitArray opCom() const pure nothrow
|
BitArray opUnary(string op)() const pure nothrow
|
||||||
|
if (op == "~")
|
||||||
{
|
{
|
||||||
auto dim = this.dim;
|
auto dim = this.dim;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue