.. index:: pair: class; EE::LRUCache .. _doxid-class_e_e_1_1_l_r_u_cache: template class EE::LRUCache =========================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template > class LRUCache { public: // typedefs typedef std::conditional_t, KeyT, const KeyT&> :target:`KeyParamT`; // methods std::optional :target:`get`(:ref:`KeyParamT` key); void :target:`put`(KeyT key, ValueT value); void :target:`clear`(); std::size_t :target:`size`() const; static constexpr std::size_t :target:`capacity`(); static constexpr bool :target:`is_static`(); };