Stroika Library 3.0d20
 
Loading...
Searching...
No Matches
BufferedInputStream.cpp
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#include "Stroika/Foundation/StroikaPreComp.h"
5
6#include "Stroika/Foundation/Execution/Exceptions.h"
7
9
10using std::byte;
11
12using namespace Stroika::Foundation;
14using namespace Stroika::Foundation::Execution;
15using namespace Stroika::Foundation::Streams;
16
17/*
18 ********************************************************************************
19 ************** Streams::BufferedInputStream::Private_ **************************
20 ********************************************************************************
21 */
22[[noreturn]] void BufferedInputStream::Private_::ThrowCannotSeekFromEnd_ ()
23{
24 // should throw or assert?
25 Throw (runtime_error{"cannot seek from end if length not known"});
26}
void Throw(T &&e2Throw)
identical to builtin C++ 'throw' except that it does helpful, type dependent DbgTrace() messages firs...
Definition Throw.inl:43