Is there a C++/CLI smart pointer project (e.g. scoped_ptr)?

后端 未结 1 818
盖世英雄少女心
盖世英雄少女心 2021-02-07 16:12

Is there a C++/CLI RAII smart pointer class for containment of a native pointer in a managed type? Just wondering, before I go write my own clr_scoped_ptr value cl

1条回答
  •  隐瞒了意图╮
    2021-02-07 16:44

    This one looks fairly complete, but I'm not looking for silent transfer of ownership ala auto_ptr.


    I've posted my version under a rather permissive license over at codereview.se

    0 讨论(0)
提交回复
热议问题