[CUDAX] Make [async_]resource_ref assignable with rebind semantics
Open
- 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
Assessment
This issue has not been assessed yet.