[llvm-bugs] [Bug 34754] static data member "unresolved external symbol" if constexpr is used in its definition
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 8 07:57:28 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=34754
Karsten H <powerchord at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Karsten H <powerchord at web.de> ---
This has been fixed. S::i is no longer considered an inline variable and hence
has external linkage as in C++11/14.
For a static data member [dcl.inline] must very likely be interpreted as if it
means "in the class definition". This lack of clarity might be a defect in the
language.
--
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/20171208/a9fefece/attachment.html>
More information about the llvm-bugs
mailing list