/** * \file libpmr/small_storage.h * \author mutouyun (orz@orzz.org) * \brief Unified SSO (Small Size Optimization). * \date 2023-09-02 */ #pragma once #include #include #include #include #include #include #include "libimp/export.h" #include "libimp/construct.h" #include "libimp/byte.h" #include "libimp/generic.h" #include "libpmr/def.h" #include "libpmr/holder_base.h" LIBPMR_NAMESPACE_BEG_ /** * \class template holder * \brief A holder implementation that holds a data object if type `Value` on heap memory. * \tparam Value The storage type of the holder. */ template class holder : public holder_base { }; LIBPMR_NAMESPACE_END_