[LLVMbugs] [Bug 20836] Missing const in is_copy_constructible/assignable
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Sep 23 07:43:12 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20836
Marshall Clow (home) <mclow.lists at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Marshall Clow (home) <mclow.lists at gmail.com> ---
I think this is right, because of section 12.8/12:
> A copy/move constructor for class X is trivial if it is not user-provided, its parameter-type-list is equivalent to the parameter-type-list of an implicit declaration, and if ....
The key bit there is "parameter-type-list is equivalent..."
`T(T&)` is not the same as `T(const T&)`
Please reopen the bug if you disagree.
--
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/20140923/9854a83e/attachment.html>
More information about the llvm-bugs
mailing list