Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement forward declaration of classes #413

Open
h0nzZik opened this issue May 21, 2019 · 0 comments
Open

Implement forward declaration of classes #413

h0nzZik opened this issue May 21, 2019 · 0 comments
Labels
C++ C++ semantics

Comments

@h0nzZik
Copy link
Contributor

h0nzZik commented May 21, 2019

struct A;

struct A{
	struct B;
};

struct A::B{};


namespace N {
	struct C;
}

struct N::C {
	struct D;
};

struct N::C::D{};

int main(){}
@h0nzZik h0nzZik added the C++ C++ semantics label May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ C++ semantics
Projects
None yet
Development

No branches or pull requests

1 participant