home/categories/framework-internals/ecnu-icalk-autoskill-skillbank-convskill-chinese-gpt3-5-8-c-通用容器模板支持-支持map-unorderedmap及allocator-skill-md
framework-internalsdevelopment

cmapunorderedmapallocator

编写C++通用模板函数,支持std::map和std::unordered_map作为通用容器传入,处理const正确性,支持可选的allocator模板参数,且禁止在函数内部构建临时对象。

ECNU-ICALK
maintainer
ECNU-ICALK
Updated 3/16/2026
Stars
304
Forks
34
quick start

Installation and usage

编写C++通用模板函数,支持std::map和std::unordered_map作为通用容器传入,处理const正确性,支持可选的allocator模板参数,且禁止在函数内部构建临时对象。

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use cmapunorderedmapallocator