.. index:: pair: class; EE::StaticLRU .. _doxid-class_e_e_1_1_static_l_r_u: template class EE::StaticLRU ============================ .. toctree:: :hidden: struct_EE_StaticLRU_Entry.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template > class StaticLRU { public: // structs struct :ref:`Entry`; // fields static constexpr std::size_t :target:`N` = Capacity; static constexpr std::size_t :target:`HASH_SZ` = 2* :ref:`N`; static constexpr std::uint16_t :target:`NONE` = std::numeric_limits::max(); static constexpr std::uint16_t :target:`DELETED_IDX` = :ref:`NONE` - 1; // methods std::optional :target:`get`(const KeyT& key); void :target:`put`(KeyT key, ValueT value); void :target:`clear`(); std::size_t :target:`size`() const; };