On 2012-06-14 17:32, Roman D. Boiko wrote:

I agree, just looking how to accomplish my goals. I decided to get rid
of casting, and will store everything on heap. I don't know how to put a
variable of type float to the heap, and thought that it would be nice to
allow the user to pass anything inside, but copy when that is not an
l-value.

Do you really need to put a float on the heap? Just pass it around as a value type, it's not like it's a big struct.

--
/Jacob Carlborg

Reply via email to