https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81527
--- Comment #4 from Wei-Wei Tu <tuwwcn at gmail dot com> --- (In reply to Jonathan Wakely from comment #3) > I don't think the code is valid, copy/move constructors are not inherited. > See PR 69853 for a similar bug report. > > *** This bug has been marked as a duplicate of bug 69853 *** Yes, you are right. I've made a mistake about "using". Thank you for checking this report.