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

Private and public members #38

Open
Coolnesss opened this issue Nov 6, 2017 · 2 comments
Open

Private and public members #38

Coolnesss opened this issue Nov 6, 2017 · 2 comments
Labels

Comments

@Coolnesss
Copy link
Collaborator

Now that the standard library is growing, we really need this.

Suggestion: could be e.g

class Foo {
   // private stuff
   public:
   // public stuff
   protected:
   // package-only stuff
}

Which would mean everything is private unless explicitly stated otherwise

@Coolnesss
Copy link
Collaborator Author

Is this (partially) addressed by 683d7e2 ?

@emlai
Copy link
Member

emlai commented Feb 15, 2018

Yeah, still have to add public.

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

No branches or pull requests

2 participants