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

包含関係にあるクラスをベースとする #1

Open
exKAZUu opened this issue Apr 12, 2012 · 0 comments
Open

包含関係にあるクラスをベースとする #1

exKAZUu opened this issue Apr 12, 2012 · 0 comments

Comments

@exKAZUu
Copy link
Member

exKAZUu commented Apr 12, 2012

以下の話をWikiにまとめよう

Javaのように暗黙的に参照を持つ.

class A {
// この中でしか new B, new C ができない
}

class B in A {
}

class C in A {
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant