Skip to content
Snippets Groups Projects
Forked from ogs / ogs
Source project has a limited visibility.
  • Dmitri Naumov's avatar
    ca5ffd24
    [MaL] Pass args by value to PiecewiseLinInterpol. · ca5ffd24
    Dmitri Naumov authored
    Reasoning: The vector's move operation is cheap and it covers the two cases of
    passed l-values and r-values w/o code duplication and templates.
    
    According to "Effective modern c++" Item 41: "Consider pass by value for
    copyable parameters that are cheap to move and always copied."
    ca5ffd24
    History
    [MaL] Pass args by value to PiecewiseLinInterpol.
    Dmitri Naumov authored
    Reasoning: The vector's move operation is cheap and it covers the two cases of
    passed l-values and r-values w/o code duplication and templates.
    
    According to "Effective modern c++" Item 41: "Consider pass by value for
    copyable parameters that are cheap to move and always copied."
Code owners
Assign users and groups as approvers for specific file changes. Learn more.