$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: ÐмиÑÑий ÐÑÑ
ипов (grisumbras_at_[hidden])
Date: 2023-12-04 21:48:27
пн, 4 дек. 2023â¯Ð³. в 23:05, Bruno MartÃnez via Boost <boost_at_[hidden]>:
>
> Hi,
>
> unique_ptr can emulate unique_resource:
This is only true for resources that are cheap to copy, e.g. pointers
and integers. For anything else unique_ptr::get will become
prohibitively expensive. For example, unque_resource can be used to
implement a temporary directory holder, with get() returning
filesystem::path const&.