NICTA / SmartGridToolbox

Smart Grid Simulation Library (C++14)
http://nicta.github.io/SmartGridToolbox
24 stars 10 forks source link

ComponentPtr #4

Closed dexterurbane closed 8 years ago

dexterurbane commented 9 years ago

The idea is that we store a pointer into the component map. If this is wrapped in the right way, it can have a similar interface to e.g. shared_ptr, but will function more like a pointer pointer, e.g. the pointed to object can be replaced and this will be reflected in held references.

dexterurbane commented 8 years ago

This has been done (and is currently in the dev branch). I'm closing the issue.