Skip to content
Snippets Groups Projects
  1. Apr 17, 2020
  2. Apr 16, 2020
  3. Apr 15, 2020
  4. Apr 13, 2020
  5. Apr 10, 2020
  6. Apr 09, 2020
  7. Apr 07, 2020
  8. Apr 06, 2020
  9. Apr 04, 2020
  10. Apr 01, 2020
  11. Mar 31, 2020
  12. Mar 25, 2020
  13. Mar 24, 2020
  14. Mar 20, 2020
  15. Mar 18, 2020
  16. Mar 04, 2020
  17. Mar 03, 2020
    • Hans Johnson's avatar
      STYLE: Use range-based loops from C++11 · 6621b069
      Hans Johnson authored
      C++11 Range based for loops can be used in
      
      Used as a more readable equivalent to the traditional for loop operating over a
      range of values, such as all elements in a container, in the forward direction..
      
      Range based loopes are more explicit for only computing the
      end location once for containers.
      6621b069
    • Hans Johnson's avatar
      STYLE: Use auto for variable type matches the type of the initializer · cc8fc323
      Hans Johnson authored
      This check is responsible for using the auto type specifier for variable
      declarations to improve code readability and maintainability.
      
      The auto type specifier will only be introduced in situations where the
      variable type matches the type of the initializer expression. In other words
      auto should deduce the same type that was originally spelled in the source
      cc8fc323
    • Hans Johnson's avatar
      PERF: emplace_back method results in potentially more efficient code · 91429382
      Hans Johnson authored
      The check flags insertions to an STL-style container done by calling the
      push_back method with an explicitly-constructed temporary of the container
      element type. In this case, the corresponding emplace_back method results in
      less verbose and potentially more efficient code.
      91429382
Loading