NVIDIA / NVIDIA/cccl

[CUDAX] Make [async_]resource_ref assignable with rebind semantics

Open
#4,166 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently `__iasync_resource` interface requires `icopyable`, which lowers to `uda::std::copyable`, which contains `requires(assignable_from<_Tp&, _Tp&>)`.

`[async_]resource_ref` is `basic_any` containing a reference type and to model references it deletes assignment. In order to make `[async_]resource_ref` to be properly recognized as a resource we should add assignment with rebind semantics to the type

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.