Quote:
Originally Posted by deimos
It works, apparently, but I don't understand why so many functions are needed, for a start.
|
Usually they'd be provided by the standard library and you would never notice. The "standard" use case for implementing these functions yourself is to track allocations and detect mismatches in the use of "array new" vs. plain "delete" (i.e. Object* o = new Object[10] .. delete o). Note that you aren't properly dealing with allocation failures.
Quote:
Originally Posted by deimos
Also, are there any opportunities to be smart, i.e. could I make new operators for things that need to go into chip memory?
|
That's possible, but I'd advise against it.