|
FreeTensor
|
#include <ref.h>


Public Types | |
| typedef T | Self |
Public Member Functions | |
| Ref< T > | self () const |
Friends | |
| template<class U > | |
| class | Ref |
Similar to std::enable_shared_from_this, but returns a Ref
Pybind11 has a bug with std::enable_shared_from_this (https://github.com/pybind/pybind11/issues/3851), so we make our own implementation, rather than wrap around std::enable_shared_from_this
| typedef T freetensor::EnableSelf< T >::Self |
|
inline |