Skip to content
Snippets Groups Projects
  1. Nov 20, 2019
  2. Nov 21, 2019
  3. Nov 20, 2019
  4. Nov 19, 2019
  5. Nov 18, 2019
  6. Nov 15, 2019
  7. Nov 13, 2019
  8. Nov 14, 2019
  9. Nov 13, 2019
  10. Nov 11, 2019
  11. Nov 12, 2019
  12. Nov 11, 2019
    • Mark OLESEN's avatar
    • Mark OLESEN's avatar
      ENH: rationalize some string methods. · 7c1190f0
      Mark OLESEN authored
      - silently deprecate 'startsWith', 'endsWith' methods
        (added in 2016: 2b143606), in favour of
        'starts_with', 'ends_with' methods, corresponding to C++20 and
        allowing us to cull then in a few years.
      
      - handle single character versions of starts_with, ends_with.
      
      - add single character version of removeEnd and silently deprecate
        removeTrailing which did the same thing.
      
      - drop the const versions of removeRepeated, removeTrailing.
        Unused and with potential confusion.
      
      STYLE: use shrink_to_fit(), erase()
      7c1190f0