On Friday, 29 October 2021 at 07:50:44 UTC+1 duncan wrote:
However, I notice that the code uses exceptions and templates, which might be a problem for
inclusion within the core of FLTK because the CMP currently prohibits their use, but there's
probably nothing to stop Fl_Flow being offered as part of an add-on system. FLTK++ perhaps?
As far as this aspect of it goes, I am less concerned about template code than about exceptions - template code is basically resolved at compile time, so doesn't have an impact on the runtime.
Exceptions are trickier because they have a runtime aspect to them, and require the linking in of support that fltk generally eschews in favour of being fast and light.
So, from my perspective, an updated CMP would probably permit template code (but perhaps suggest that it's use be minimized for backwards compatibility) but might still deprecate the use of exceptions...
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.