STL class for reference-counted pointers?

前端 未结 5 2024
花落未央
花落未央 2021-02-13 23:23

This should be trivial but I can\'t seem to find it (unless no such class exists!)

What\'s the STL class (or set of classes) for smart pointers?

UPDATE

5条回答
  •  误落风尘
    2021-02-14 00:20

    There is an alternative implemented for some time in STL PLUS, see at source forge

    "STLplus was originally intended as a library to extend the STL by providing missing container data structures such as smart-pointers, matrices, trees and graphs."

提交回复
热议问题