Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • New: qualified names should allow typename keyword in front of it (even in non-templates)

    8 answers - 283 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    The following should compile according to this DR report (but it is only in ready state so I am going to
    confirm it and then suspend it):
    class a {};
    typename ::a f();
    Also the following should not compile as a is not qualified then:
    class a {};
    typename a f();
  • No.1 | | 90 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 04:27
    Confirmed, to
  • No.2 | | 120 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 04:28
    Suspend this as it only in the ready state.
  • No.3 | | 129 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 05:05
    and I thought I saw a bug or two about this before.
  • No.4 | | 479 bytes | |

    "pinskia at gcc dot gnu dot org" <gcc-bugzilla (AT) gcc (DOT) gnu.orgwrites:

    | The following should compile according to this DR report (but it is only in ready state so I am going to
    | confirm it and then suspend it):
    | class a {};
    | typename ::a f();
    |
    | Also the following should not compile as a is not qualified then:
    | class a {};
    | typename a f();

    If that is what the DR says, then the DR does not make any sense
    -- Gaby
  • No.5 | | 669 bytes | |

    Additional Comments From gdr at integrable-solutions dot net 2005-06-23 14:58
    Subject: Re: New: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

    "pinskia at gcc dot gnu dot org" <gcc-bugzilla (AT) gcc (DOT) gnu.orgwrites:

    | The following should compile according to this DR report (but it is only in ready state so I am going to
    | confirm it and then suspend it):
    | class a {};
    | typename ::a f();
    |
    | Also the following should not compile as a is not qualified then:
    | class a {};
    | typename a f();

    If that is what the DR says, then the DR does not make any sense
    -- Gaby
  • No.6 | | 322 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 15:04
    (In reply to comment #4)
    If that is what the DR says, then the DR does not make any sense
    Hey I am just reading what it says:
    <#382>.

    DR 468 is about allowing ::template outside of templates.

    I am not making this up.
  • No.7 | | 760 bytes | |

    Additional Comments From gdr at integrable-solutions dot net 2005-06-23 18:13
    Subject: Re: [DR 382] qualified names should allow typename keyword in front of it (even in non-templates)

    "pinskia at gcc dot gnu dot org" <gcc-bugzilla (AT) gcc (DOT) gnu.orgwrites:

    | Additional Comments From pinskia at gcc dot gnu dot org 2005-06-23 15:04
    | (In reply to comment #4)
    | If that is what the DR says, then the DR does not make any sense
    | Hey I am just reading what it says:
    | <#382>.
    |
    | DR 468 is about allowing ::template outside of templates.
    |
    | I am not making this up.

    I'm not saying you're making it up. It just strikes me that the new
    "subtlities" don't make much sense.
    -- Gaby
  • No.8 | | 76 bytes | |

    --
    What |Removed |Added
    Status|NEW |SUSPENDED

Re: New: qualified names should allow typename keyword in front of it (even in non-templates)


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Development"

EMSDN.COM