devxlogo

Namespaces do not Incur Additional Overhead

Namespaces do not Incur Additional Overhead

Namespaces do not incur runtime or memory overhead. The technique used to represent namespaces is called name mangling. This same technique is used to create unique names for overloaded functions with identical names, and for class members. Therefore, you can use namespaces in time-critical applications without hesitation.

devx-admin

Share the Post: