Where is matx::non_owning
now?
#384
-
I used to create a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ZJUGuoShuai, non_owning is still available and is the default when you pass in your own pointer, whereas if you don't pass in your own pointer, the type defaults to owning. We did make a change several months ago to make this a runtime parameter rather than a template parameter. For example:
You would now do something like:
|
Beta Was this translation helpful? Give feedback.
Hi @ZJUGuoShuai, non_owning is still available and is the default when you pass in your own pointer, whereas if you don't pass in your own pointer, the type defaults to owning. We did make a change several months ago to make this a runtime parameter rather than a template parameter. For example:
You would now do something like: