[llvm-bugs] [Bug 42072] [[nodiscard]] should work on constructors

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 15 08:44:57 PST 2020


Erich Keane <erich.keane at intel.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |erich.keane at intel.com

--- Comment #5 from Erich Keane <erich.keane at intel.com> ---
The standards committee actually chose to allow nodiscard on constructors or
types (wg21.link/P1771), and I implemented it here:

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200115/86a78996/attachment.html>

More information about the llvm-bugs mailing list