Simon Rozman 976662415b stream: unify size method and make it const
diag_file::size() was setting the m_state and returning 0 on error,
which violated original size() convention not to change stream state and
to return fsize_max on error.

Changing m_state prevented declaring size() method as const before.

cache::seek() was missing size() return value check.

Signed-off-by: Simon Rozman <simon@rozman.si>
2023-12-01 14:11:02 +01:00
2022-03-07 11:37:35 +01:00
2023-03-08 13:34:04 +01:00

stdex - Random stuff that didn't made it into std C++

An auto-generated documentation is here.

Requirements

  • MSVC 2019 or later, XCode 13 or later
  • C++17 or later
Description
Standard C++ Library Extension
Readme MIT 60 MiB
Languages
C++ 100%