unique_ptr | Unique for autoclose handle
Vitaliy Fadeev
vital.fadeev at gmail.com
Fri Dec 16 13:25:20 UTC 2022
On Thursday, 15 December 2022 at 06:08:32 UTC, Vitaliy Fadeev
wrote:
> On Wednesday, 14 December 2022 at 17:44:05 UTC, Ali Çehreli
> wrote:
>> On 12/14/22 09:41, Ali Çehreli wrote:
>>
>> > // According to documentation, the handler must be
>> created dynamically:
>> > // We make a unique owner for it:
>>
>
> Last try is customized **std.typecons.Unique**:
Customized std.typecons.Unique:
https://gist.github.com/vitalfadeev/2d25724d083a768ae63ab183211c5edc
More information about the Digitalmars-d-learn
mailing list