Skip to content
Snippets Groups Projects
Forked from Dynare / preprocessor
Source project has a limited visibility.
  • Sébastien Villemot's avatar
    198ff70b
    Simplify strsplit() using std::string_view · 198ff70b
    Sébastien Villemot authored
    By the way:
    – improve the semantics by having a consistent treatment of empty substring
      components (previously, only the last one was ignored)
    – move it to DataTree to make it more accessible from elsewhere (even though
      ideally it should be in a “utilities” namespace).
    Verified
    198ff70b
    History
    Simplify strsplit() using std::string_view
    Sébastien Villemot authored
    By the way:
    – improve the semantics by having a consistent treatment of empty substring
      components (previously, only the last one was ignored)
    – move it to DataTree to make it more accessible from elsewhere (even though
      ideally it should be in a “utilities” namespace).