By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,667 Members | 2,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,667 IT Pros & Developers. It's quick & easy.

access modifier ?

P: n/a
Hi All,

Is there an internal access modifier in managed vc++ like vc#?

Thanks,
Ashkan
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ashkan Daie wrote:
Hi All,

Is there an internal access modifier in managed vc++ like vc#?


In managed C++, you can provide two access modifiers. If you supply only
one, then internal and external access are equivalent. If you supply two
modifiers, the more permissive is for internal access, while the more
restrictive is for external access.

So, if I remember C# access rules correctly, the equivalent of the C#
internal modifier is 'public private:'

See section 21.2 of the Managed C++ Extensions specification (which should
be in your <VSInstallDir>\VC7 folder).

-cd

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.