On Tuesday, 17 February 2015 at 20:06:15 UTC, Paul wrote:
There doesn't seem to be an alternative to using a pointer as it's rather a large struct to pass to functions as is!

yeah, copying is disabled too. The struct isn't big in memory terms (it has few actual data members) but since the destructor does a bunch of things, you wouldn't want it being called often, so a pointer to one made in main is the way to go.

Reply via email to