https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91592
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Using std::is_assignable<B&, B const&> instead works fine.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91592
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Using std::is_assignable<B&, B const&> instead works fine.