Skip to content
Snippets Groups Projects
  • Max Kahnt's avatar
    610c6500
    Fix: Inline free function operator>> in NumProc. · 610c6500
    Max Kahnt authored
    A non-templated, non-inlined free function may generate
    a non-weak symbol which causes linker errors due to
    duplicate symbols when the file is used in more than one
    compilation unit.
    
    Inlining (which is implicit to non-fully specialized
    templated functions) generates weak linker symbols and
    hence allows for usage in several compilation units
    without linking errors.
    610c6500
    History
    Fix: Inline free function operator>> in NumProc.
    Max Kahnt authored
    A non-templated, non-inlined free function may generate
    a non-weak symbol which causes linker errors due to
    duplicate symbols when the file is used in more than one
    compilation unit.
    
    Inlining (which is implicit to non-fully specialized
    templated functions) generates weak linker symbols and
    hence allows for usage in several compilation units
    without linking errors.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.