Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

namespace and #define

Name: Anonymous 2010-09-30 4:03

Hello

I noticed that when I use #define inside a namespace then this #define only
works when prefixed with the namespace name.

Is this behaviour standard or just compiler specific?

I use VC7.

namespace test
{
#define X int
};

Now can be used as:

test::X

--
Elias

Name: Anonymous 2010-09-30 10:16

>>3
Please, bolding a name is better effective when implying `You're person, aren't you?' where person is previously known by at least one other /anus/dolyte, and exhibits traits present in the post quoted.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List