unique_ptr - major improvement?

前端 未结 5 1471
盖世英雄少女心
盖世英雄少女心 2021-02-01 19:41

In the actual C++ standard, creating collections satisfying following rules is hard if not impossible:

  1. exception safety,
  2. cheap internal operations (in act
5条回答
  •  野性不改
    2021-02-01 19:51

    It looks like the three conditions I've enumerated in my post are possible to obtain by using Boost Pointer Container Library.

提交回复
热议问题