|
|
My apologies, it appears that fltk 1.4 already has this change and I was looking at outdated documentation. Thank you for this.
On Wednesday, March 20, 2024 at 10:30:00 PM UTC supsm17 wrote:
I think it would be helpful to have pointer+size strings for something like Fl_Text_Buffer::append, since with something like C++17 string_view it is not possible to guarantee null termination.It may also be worth considering std::string_view as an alternative to std::string in some cases for future FLTK, since string view is non-owning and therefore much cheaper to copy (this is especially prominent when converting to/from C-strings as many applications might).
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/6b0ffcc7-9849-444f-8055-9ed16ec20422n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |