CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: superbonzo

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,992

    Re: Struct with internal linkage

    static as a linkage specification has been deprecated in favor of anonymous namespaces. Moreover, it works only with functions and variables, not types. Indeed, I think your code snippet is not legal...
  2. Replies
    6
    Views
    1,992

    Re: Struct with internal linkage

    you can use an anonymous namespace. Linkage is still external but symbol names will be unique across compilation units ( which tantamounts to be internal as no linker conflicts can occur and the...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured