Open
Description
Currently all resource adaptors are templated on their upstream resource.
Transitioning to resource_ref
this is superfluous, as we do not need to know the upstream type anymore.
However, we cannot simply remove the template argument, as that would break user code. So we need to first introduce an indirection using an alias:
template<class>
struct resource_adaptor_impl{};
template<class Upstream>
[[deprecated("Use resource_adaptor_ref instead")]] using resource_adaptor = resource_adaptor_impl<Upstream>;
using resource_adaptor_ref = resource_adaptor_impl<int>;
Metadata
Metadata
Assignees
Type
Projects
Status
To-do