// elaborated_type_specifiers1.cpp
struct A; // Forward declaration A.
class A // Определение A.
{
public:
int i;
};
int main()
{
}
// elaborated_type_specifiers2.cpp
class A; // Forward declaration A
struct A
{
private:
int i;
};
int main()
{
}
// elaborated_type_specifiers3.cpp
union A; // Forward declaration A
union A
{
int i;
char ch[2];
};
int main()
{
}