#pragma once #include "fwd.h" #include "mapfindptr.h" #include #include #include #include #include #include template class TMap: public std::map>>, public TMapOps> { using TBase = std::map>>; public: using TBase::TBase; inline explicit operator bool() const noexcept { return !this->empty(); } }; template class TMultiMap: public std::multimap>> { using TBase = std::multimap>>; public: using TBase::TBase; inline explicit operator bool() const noexcept { return !this->empty(); } };