Skip to content

consider using anonymous namespaces for internal linkage #9

@jjallaire

Description

@jjallaire

It's really just a matter of taste but you could protect the linkage of source-file level helpers by enclosing them in an anonymous namespace (rather than using static). e.g.

namespace {

int helper() {
// etc
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions