std::experi...ol_resource(3) C++ Standard Libary std::experi...ol_resource(3) NAME std::experimental::pmr::synchronized_pool_resource::synchronized_pool_re- source - std::experimental::pmr::synchronized_pool_resource::synchro- nized_pool_resource Synopsis synchronized_pool_resource(); (1) (library fun- damentals TS) explicit synchronized_pool_resource( memory_resource* (2) (library fun- damentals TS) upstream ); explicit synchronized_pool_resource( const (3) (library fun- damentals TS) pool_options& opts ); synchronized_pool_resource( const pool_options& opts, memory_resource* upstream (4) (library fun- damentals TS) ); synchronized_pool_resource( const (5) (library fun- damentals TS) synchronized_pool_resource& ) = delete; Constructs a synchronized_pool_resource. 1-4) Constructs a synchronized_pool_resource using the specified up- stream memory resource and tuned according to the specified options. The resulting ob- ject holds a copy of upstream but does not own the resource to which upstream points. The overloads not taking opts as a parameter uses a default constructed instance of pool_options as the options. The overloads not taking upstream as a pa- rameter uses the return value of std::experimental::pmr::get_default_resource() as the upstream memory resource. 5) Copy constructor is deleted. Parameters opts - a pool_options struct containing the constructor options upstream - the upstream memory resource to use Exceptions 1-4) Throws only if a call to the allocate() function of the upstream resource throws. It is unspecified if or under what conditions such a call takes place. Category: * Noindexed pages http://cppreference.com 2024.06.10 std::experi...ol_resource(3)
NAME | Synopsis | Parameters | Exceptions | Category:
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=std::experimental::pmr::synchronized_pool_resource::synchronized_pool_resource&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>