Write C++ container that fits neatly into STL

后端 未结 4 1215
-上瘾入骨i
-上瘾入骨i 2020-12-28 16:58

I would like to write a container class in a style which fits very neatly into STL. It should look and behave as if it where a standard STL container.

Is there a man

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 17:33

    I'd recommending reading Josuttis, The C++ Standard Library: A Tutorial and Reference. It gives clear and easy to read explanations of the principles behind STL.

提交回复
热议问题