Currently I’m trying to implement some DragAndDrop behaviour using the JUCE built-in classes. However, startDragging(var &sourceDescription, Component *sourceComponent) requires me to pass a description of the dragged object as a “var”. However, I would much rather pass a std::shared_ptr, as that is what I’m using internally everywhere. std::shared_ptr seems incompatible with the ReferenceCountedObjects, which can be passed as a var. Does anyone know of a way to do this? Thanks in advance for your replies!