Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 190

SharedPtr

$
0
0

I see that DAAL comes with its own smart pointer implementation (daal::SharedPtr). I have a couple of questions about this:

1. It appears not to be thread-safe - is this correct?

2. Sometimes I have a SharedPtr<NumericTable> that I would like to cast to a SharedPtr<HomogenNumericTable> so that I can use the getArray method (for example). With a C++11 shared_pointer, I would use dynamic_pointer_cast. Is there a way to do something similar here?

3. Are there any plans to make changes to the SharedPtr implementation between the beta and the release?

Many thanks!


Viewing all articles
Browse latest Browse all 190