#pragma once #include "fwd.h" #include "deque.h" #include template class TStack: public std::stack { using TBase = std::stack; public: using TBase::TBase; inline explicit operator bool() const noexcept { return !this->empty(); } };