On Sep 29, 2007, at 11:46 PM, Greg Ercolano wrote:

>       Ya, I'd always wondered about why fltk didn't make copies always,
>       but realized it's often the case the label is a static string in  
> the app,
>       so it's a big waste to have fltk /always/ make dynamic copies of  
> everything.
>
>       It's interesting the language doesn't provide a way to detect at  
> runtime
>       whether a pointer references a static const (read only) or dynamic  
> memory.

Wouldn't that be nice. A similar discussion was going on here:

<http://www.velocityreviews.com/forums/t281235-how-to-distinguish- 
between-heapstack-pointers.html>
(from comp.lang.c++)

Matthias

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to