Go to the source code of this file.
Namespaces | |
namespace | PLAT |
This is the PLAT namespace. | |
Enumerations | |
enum | PLAT::MyNSType { PLAT::mntOne, PLAT::mntTwo, PLAT::mntThree } |
enum | MyGlobalType { mgtOne, mgtTwo, mgtThree } |
Functions | |
MyNSType | PLAT::MyNSFunc1 (PLAT::MyNSType a, MyNSType b,::MyNSType c) |
A simple function declared within a namespace. | |
PLAT::MyNSType | PLAT::MyNSFunc2 (PLAT::MyNSType a, MyNSType b,::MyNSType c) |
Another simple function declared within a namespace. | |
MyGlobalType | MyGlobalFunc1 (MyGlobalType a,::MyGlobalType b) |
A simple function declared within the global namespace. | |
::MyGlobalType | MyGlobalFunc2 (MyGlobalType a,::MyGlobalType b) |
Another simple function declared within the global namespace. |
Example to illustrate some issues with namespace.
enum MyGlobalType |
MyGlobalType MyGlobalFunc1 | ( | MyGlobalType | a, |
::MyGlobalType | b | ||
) |
A simple function declared within the global namespace.
It has parameters of types MyGlobalType and MyGlobalType .
::MyGlobalType MyGlobalFunc2 | ( | MyGlobalType | a, |
::MyGlobalType | b | ||
) |
Another simple function declared within the global namespace.
Detailed description.