http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57403
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Nick Maclaren from comment #2) > That may well be true, but I can't find any such restriction in the C++ > standard. It would be a great help if the library specification weren't > so ambiguous - in this case, it hinges around the meaning of the word > 'type', and the unqualified word is used with at least three meanings > in the standard. Actually there is a miss in Table 27, where the variables T, U, and C are described as "any non-const object type (3.9)" This should be corrected to "any non-const non-volatile object type (3.9)" I'm submitting an LWG issue for this.