rename_namespace ( #import )

When importing a type library it could be at times cumbersome to use the default namespace name.

#import provides a nice option called rename_namespace.

Use…

[sourcecode language=’cpp’]#import “SomeTypelib.tlb” rename_namespace( “NibuNamespace” )[/sourcecode]

Using no_namespace is lazy programming ๐Ÿ˜ . Namespaces reduces name collision hence usage should be encouraged.

Appreciate your comments...