/* * Copyright (c) 2021, Ali Mohammad Pur * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once namespace AK::Detail { template struct SubstituteIntrusiveContainerType { using Type = Container; }; template struct SubstituteIntrusiveContainerType> { using Type = RefPtr; }; template struct SelfReferenceIfNeeded { Container reference = nullptr; }; template struct SelfReferenceIfNeeded { }; }