Dictionary for std::shared_ptr

I am using Root 6.14.04. In my code I’d need to create a dictionary for I/O of std::shared_ptr<MyClass>. However, when I do it I get this error:

Error: Class shared_ptr<MyClass> has been selected but currently the support for its I/O is not yet available. Note that shared_ptr<MyClass>, even if not selected, will be available for interpreted code

It seems clear that std::shared_ptr is not supported by my Root version; does anybody know if a more recent version supports it? If not, is this feature planned for being implemented?
Thanks.

Hi,
ROOT does not currently support I/O of std::shared_ptr, there are plans to implement it but no fixed ETA.

@Axel or @pcanal can comment with more authority but they are currently travelling.

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.