Boost logo

Boost :

Subject: Re: [boost] [ Interest? ] [ out_ptr ] Tiny C++ Abstraction for C-Style Output Pointers
From: Bjorn Reese (breese_at_[hidden])
Date: 2018-07-02 22:20:37

On 06/28/18 21:03, ThePhD via Boost wrote:

> out_ptr is a small abstraction for making types such as
> std::unique_ptr, std::shared_ptr, boost::shared_ptr, and the upcoming
> std::retain_ptr
> <> work
> work C-Style output functions as a parameter, addressing the need of
> wanting to be able to do "my_c_api_init( foo, bar, &my_smart_ptr );". It's

Does out_ptr have other use-cases than C interoperability?

Boost list run by bdawes at, gregod at, cpdaniel at, john at