// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/nekernel-org/nekernel #ifndef HEADERS_DICTIONARY_H #define HEADERS_DICTIONARY_H #include namespace CF { template class CFDictionary final { public: explicit CFDictionary() = default; ~CFDictionary() = default; CFDictionary& operator=(const CFDictionary&) = default; CFDictionary(const CFDictionary&) = default; Value& operator[](Key& at) { return this->Find(at); } Bool Empty() { return this->fCount > 0; } Bool Find(Key& key) { NE_UNUSED(key); return false; } operator bool() { return !this->Empty(); } private: SizeT fCount{0UL}; }; template inline auto make_dict() { return CFDictionary{}; } } // namespace CF #endif