Skip to content
  • Mark OLESEN's avatar
    ENH: update and enhancement of memory-streams · a341d09a
    Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
    - soft renames (ie, old names still available via typedefs) for more
      reasonable names and more coverage with std stream variants.
    
      The old names could be a bit cryptic.
      For example, uiliststream (== an unallocated/external list storage),
      which is written as std::ispanstream for C++23.
    
      Could similarly argue that IListStream is better named as
      ICharStream, since it is an input stream of characters and the
      internal storage mechanism (List or something else) is mostly
      irrelevant.
    
      Extending the coverage to include all std stream variants, and
      simply rewrap them for OpenFOAM IOstream types. This simplifies the
      inheritance patterns and allows reuse of icharstream/ocharstream as
      a drop-in replace for istringstream/ostringstream in other wrappers.
    
      Classes:
        * icharstream / ICharStream   [old: none / IListStream]
        * ocharstream / OCharStream   [old: none / OListStream]
        * ispanstream / ISpanStream   [old: uiliststream / UIListStream...
    a341d09a