I was amazed when I saw that this code success compiled with MS Visual C++.

struct foo {
    struct foo(int i): value(i) {}
    int value;
};

What means keyword struct in such strange context?

Edit
Report