https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416
Giuseppe D'Angelo <dangelog at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dangelog at gmail dot com --- Comment #9 from Giuseppe D'Angelo <dangelog at gmail dot com> --- Hi, Stumbled across this indeed when trying to use contiguous iterators. Sure enough, pointer_traits for them is ill-formed. But then I don't understand why the "otherwise to_address(p.operator->())" part is in the Standard at all, if it can never be used. Has this been raised as a library defect? And are you recommending that everyone who defines their custom contiguous iterators specializes pointer_traits for them? Call it _quite_ annoying...