Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8723

Re: Two nested classes are tied together.

From red floyd <no.spam.here@its.invalid>
Newsgroups comp.lang.c++
Subject Re: Two nested classes are tied together.
Date 2011-08-12 08:00 -0700
Organization A noiseless patient Spider
Message-ID <j23f71$9f3$1@dont-email.me> (permalink)
References <04e11031-43ec-4fe3-a5e3-3f314332e350@p5g2000vbl.googlegroups.com> <Xns9F3F66EDD3056myfirstnameosapriee@216.196.109.131>

Show all headers | View raw


On 8/12/2011 12:07 AM, Paavo Helde wrote:
> Nephi Immortal<immortalnephi@gmail.com>  wrote in

>> class Object
>> {
>> private:
>>       class _Proxy;
>
> Using such a name is UB, so definitely your code has undefined behavior
> ;-)

Is it UB, or is the code simply ill-formed?

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Two nested classes are tied together. Nephi Immortal <immortalnephi@gmail.com> - 2011-08-11 16:23 -0700
  Re: Two nested classes are tied together. Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-12 02:07 -0500
    Re: Two nested classes are tied together. red floyd <no.spam.here@its.invalid> - 2011-08-12 08:00 -0700
      Re: Two nested classes are tied together. Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-14 22:47 -0500
        Re: Two nested classes are tied together. red floyd <no.spam.here@its.invalid> - 2011-08-15 10:11 -0700
          Re: Two nested classes are tied together. Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-15 13:38 -0500
    Re: Two nested classes are tied together. Nephi Immortal <immortalnephi@gmail.com> - 2011-08-12 12:16 -0700
      Re: Two nested classes are tied together. red floyd <no.spam.here@its.invalid> - 2011-08-12 13:27 -0700
        Re: Two nested classes are tied together. Nephi Immortal <immortalnephi@gmail.com> - 2011-08-12 17:21 -0700
        Re: Two nested classes are tied together. Nephi Immortal <immortalnephi@gmail.com> - 2011-08-12 17:32 -0700
          Re: Two nested classes are tied together. Ian Collins <ian-news@hotmail.com> - 2011-08-13 12:53 +1200
          Re: Two nested classes are tied together. TJorgenson <tjorgenson@infinera.com> - 2011-08-15 17:38 -0700

csiph-web