#include <optional>
#include "src/zone/zone-containers.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8::internal {
template <class T>
class LiveSet { … };
template <typename T>
LiveSet<T>& live_set() { … }
class Trivial { … };
static_assert(std::is_trivially_copyable_v<Trivial>);
template <>
class LiveSet<Trivial> { … };
class CopyAssignable { … };
static_assert(!std::is_trivially_copyable_v<CopyAssignable>);
static_assert(std::is_copy_assignable_v<CopyAssignable>);
static_assert(!std::is_move_assignable_v<CopyAssignable>);
class MoveAssignable { … };
static_assert(!std::is_trivially_copyable_v<MoveAssignable>);
static_assert(std::is_move_assignable_v<MoveAssignable>);
static_assert(!std::is_copy_assignable_v<MoveAssignable>);
class NotAssignable { … };
static_assert(!std::is_trivially_copyable_v<NotAssignable>);
static_assert(!std::is_copy_assignable_v<NotAssignable>);
static_assert(!std::is_move_assignable_v<NotAssignable>);
class ZoneVectorTest : public TestWithZone { … };
TEST_F(ZoneVectorTest, Basic) { … }
TEST_F(ZoneVectorTest, Assign) { … }
TEST_F(ZoneVectorTest, Insert) { … }
TEST_F(ZoneVectorTest, Erase) { … }
}