Files
openfoam/src/OpenFOAM/db/IOstreams
Mark Olesen 6f8da834a9 ENH: add OListStream::swap(DynamicList<char>&)
- allows full recovery of allocated space, not just addressable range.

  This can be particularly useful for code patterns that repeatedly
  reuse the same buffer space. For example,

      DynamicList<char> buf(1024);

      // some loop
      {
          OListStream os(std::move(buf));
          os << ...

          os.swap(buf);
      }

   Can read back from this buffer as a second operation:

      {
          UIListStream is(buf);
          is >> ...
      }
2019-07-31 11:31:40 +02:00
..
2017-01-19 20:17:47 +00:00
2019-02-06 12:28:23 +00:00
2019-02-06 12:28:23 +00:00