Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Pavoori, Kiran" <kiran.pavoori@polycom.com>
To: "'drow@mvista.com'" <drow@mvista.com>,
	"'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: RE: nested namespace and enum
Date: Mon, 14 Jul 2003 17:47:00 -0000	[thread overview]
Message-ID: <5314B62255397440B12213B31CB2E9F113CD32@corpmail02> (raw)

Would like to hear an opinion on this declaration.

namespace N
{
class C 
{
    public:
        ~C(){}
        C() {}
        typedef enum 
        {
                EV_X,
                EV_Y, 
                EV_Z
        } Events;
};
}


Now looking at the above declaration I would access the enum EV_X as
follows:

N::C::EV_X

Is this an acceptable declaration?
Please comment when you get a chance, thank-you
Kiran


             reply	other threads:[~2003-07-14 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 17:47 Pavoori, Kiran [this message]
2003-07-15  3:39 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5314B62255397440B12213B31CB2E9F113CD32@corpmail02 \
    --to=kiran.pavoori@polycom.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox