-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
cppPertains to C++ codePertains to C++ codefeature requestNew feature or requestNew feature or request
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
Labels
cppPertains to C++ codePertains to C++ codefeature requestNew feature or requestNew feature or request
Type
Projects
Status
To-do