https://bugs.llvm.org/show_bug.cgi?id=28598
Nico Weber <nicolaswe...@gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |nicolaswe...@gmx.de
--- Comment #1 from Nico Weber <nicolaswe...@gmx.de> ---
No longer seems to repro at trunk:
$ ~/src/llvm-project/out/gn/bin/clang -c main.cpp -std=c++14
main.cpp:15:7: error: cannot initialize a member subobject of type
'add_pointer_t<int>' with an lvalue of type 'const add_pointer_t<const int>'
data_(other.data_)
^ ~~~~~~~~~~~
main.cpp:30:26: note: in instantiation of function template specialization
'span<int>::span<const int>' requested here
span<int> const span = getSpan();
^
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs