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
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