ldionne / dyno

Runtime polymorphism done right
Boost Software License 1.0
971 stars 42 forks source link

Consider supporting copy on write semantics #9

Open ldionne opened 7 years ago

ldionne commented 7 years ago

Basically, hold a shared_ptr to the object, but then copy the pointee whenever a non-const function is called.