Skip to content
Snippets Groups Projects
Select Git revision
  • 6ac8a5dbb5b3c9f3d320678e18d9fdceb1991ad2
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
31 results

src

  • Clone with SSH
  • Clone with HTTPS
  • Guillaume Roguez's avatar
    Guillaume Roguez authored and Tristan Matthews committed
    Also minor code cleanup.
    
    Rationale:
    The C++ standard has un-deprecated the use of the static keyword.
    But the superiority of anonymous namespaces is mainly for type 
    declarations (including structures and classes).
    
    For variables and functions, the static keyword is functionally
    equivalent to using an anonymous namespace.
    
    But there is a major drawback with the latter!
    Name mangling for anonymous namespaces is such that it's awkward
    to type/find a local symbol declared in them when using a debugger
    such as gdb.
    
    Refs #50143
    
    Change-Id: I925af61d14db08fafa37bfbfeedde95feadd0948
    6ac8a5db
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..