access modifier ?

  • Thread starter Thread starter Ashkan Daie
  • Start date Start date
A

Ashkan Daie

Hi All,

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

Thanks,
Ashkan
 
Ashkan said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top