mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
25 lines
307 B
C++
25 lines
307 B
C++
namespace nested {
|
|
|
|
struct X
|
|
{
|
|
struct Y
|
|
{
|
|
int valueY;
|
|
static int staticYValue;
|
|
struct Z
|
|
{
|
|
int valueZ;
|
|
};
|
|
};
|
|
|
|
static int staticXValue;
|
|
int valueX;
|
|
};
|
|
|
|
int X::staticXValue = 10;
|
|
int X::Y::staticYValue = 20;
|
|
|
|
typedef X Root;
|
|
|
|
}
|