usingnamespace

    usingnamespace.zig

    usingnamespace has an important use case when organizing the public API of a file or package. For example, one might have with all of the :

    The above example demonstrates using pub to qualify the additionally makes the imported declarations pub. This can be used to forward declarations, giving precise control over what declarations a given file exposes.