COMP: avoid constructor ambiguity for ISpanStream

- compiler cannot decide between std::string and std::string_view
  when creating from 'const char*' without also supplying the size,
  so also supply a 'const char*' constructor.

ENH: additional string_view handling for ITstream and SubStrings
This commit is contained in:
Mark Olesen
2025-03-11 14:01:59 +01:00
parent 36ae93d017
commit 38e08fc092
7 changed files with 103 additions and 82 deletions

View File

@ -1,3 +1,3 @@
Test-stringSplit.C
Test-stringSplit.cxx
EXE = $(FOAM_USER_APPBIN)/Test-stringSplit