[libcxx-commits] [PATCH] D71096: __bit_reference: fix -Wdeprecated-copy warnings

David Blaikie via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 12 13:37:50 PST 2019


dblaikie added inline comments.


================
Comment at: libcxx/include/__bit_reference:150
-
-    __bit_const_reference& operator=(const __bit_const_reference& __x);
 };
----------------
MaskRay wrote:
> It seems this isn't defined, so I just delete it.
Perhaps it was intended to be declared-but-not-defined to disable the use of copy assignment for this type? (in the days before "= delete" this is how things were done - declare the function privately without a definition)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71096/new/

https://reviews.llvm.org/D71096





More information about the libcxx-commits mailing list