Relocatable objects and internal pointers
timotheecour
timothee.cour2 at gmail.com
Sat Jan 20 12:26:31 UTC 2018
On Saturday, 30 January 2016 at 03:13:59 UTC, Matt Elkins wrote:
> std.typecons.Unique seems to require heap allocation, which
> makes it a far cry from std::unique_ptr.
isn't unique_ptr typically for heap allocation?
eg:
https://stackoverflow.com/questions/42910711/unique-ptr-heap-and-stack-allocation
NOTE: calypso (ldc fork) should allow internal pointers now, see
https://github.com/Syniurge/Calypso/issues/70 (cv::Mat.step.p is
an internal pointer)
More information about the Digitalmars-d-learn
mailing list