[Bug c++/102045] constructor is not being instantiated

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 24 15:19:24 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Hana Dusíková from comment #0)
> #include <span>
> 
> struct byte_writer: std::span<char> {
>     using std::span<char>::span;

N.B. this line should be commented out to reproduce the problem.


More information about the Gcc-bugs mailing list