https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I suppose I could change the static_assert message to also suggest defining your own specialization of std::pointer_traits, which is another way to make it work.