mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
orbis-kernel: add deduction guide for Ref utility
This commit is contained in:
parent
ef2a4b3428
commit
8440940945
|
|
@ -140,6 +140,8 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename T> Ref(T *) -> Ref<T>;
|
||||||
|
|
||||||
// template <WithRc T, typename... ArgsT>
|
// template <WithRc T, typename... ArgsT>
|
||||||
// requires(std::is_constructible_v<T, ArgsT...>)
|
// requires(std::is_constructible_v<T, ArgsT...>)
|
||||||
// Ref<T> kcreate(ArgsT &&...args) {
|
// Ref<T> kcreate(ArgsT &&...args) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue