xo-reflect: provide xo::bp<T> alias for xo::ref::borrow<T>
This commit is contained in:
parent
82f7912fe1
commit
155b2dbec0
1 changed files with 6 additions and 0 deletions
|
|
@ -13,11 +13,17 @@ namespace xo {
|
||||||
namespace ref {
|
namespace ref {
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class intrusive_ptr;
|
class intrusive_ptr;
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
class Borrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
using rp = ref::intrusive_ptr<T>;
|
using rp = ref::intrusive_ptr<T>;
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
using bp = ref::Borrow<T>;
|
||||||
|
|
||||||
namespace ref {
|
namespace ref {
|
||||||
class Refcount;
|
class Refcount;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue