MEMBER_TYPE and CV qualifiers

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Jul 18 15:30:00 GMT 2005


Mark Mitchell <mark@codesourcery.com> writes:

| Furthermore, 9.3.1/3 is at odds with 3.9.3/1, which says:
| 
|    Each type which is  a  cv-unqualified  complete  or
|    incomplete  object  type  or  is void (_basic.types_) has three corre-
|    sponding cv-qualified versions of its type: a const-qualified version,
|    a  volatile-qualified version, and a const-volatile-qualified version.
| 
| Note that it explicitly leaves out function types.

Yes.  For some reasons (I have not gotten explanations for yet), the
specification of member functions seems to be very odd at different
places in the standard :-(

-- Gaby



More information about the Gcc mailing list