/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ECMASCRIPT_MEM_C_CONTAINERS_H #define ECMASCRIPT_MEM_C_CONTAINERS_H #include #include #include #include #include #include #include #include #include #include #include #include "ecmascript/mem/caddress_allocator.h" namespace panda::ecmascript { template using CVector = std::vector>; template using CList = std::list>; template> using CMap = std::map>>; template> using CMultiMap = std::multimap>>; template, class KeyEqual = std::equal_to> using CUnorderedMultiMap = std::unordered_multimap>>; template using CDeque = std::deque>; template> using CQueue = std::queue; template> using CStack = std::stack; template, class KeyEqual = std::equal_to> using CUnorderedMap = std::unordered_map>>; template, class KeyEqual = std::equal_to> using CUnorderedSet = std::unordered_set>; } // namespace panda::ecmascript #endif // ECMASCRIPT_MEM_C_CONTAINERS_H