원시 스토리지를 사용할 때 EBO를 에뮬레이트하는 방법은 무엇입니까? 빈 기본 최적화를 활용하기 위해 비어있을 수있는 임의 유형 (클래스 유형일 수도 있고 아닐 수도 있음)의 객체를 저장하는 저수준 제네릭 유형을 구현할 때 사용하는 구성 요소가 있습니다 . template class ebo_storage { T item; public: constexpr ebo_storage() = default; template constexpr ebo_storage(U&& u) noexcept(std::is_nothrow_constructible::value) : item(std::forward(u)) {} T& get() & noexcept { return item; } constexpr const T& get() ..