Discuss Boost.GIL (Generic Image Library) | New channel #boost-gil at https://cpplang.slack.com | Go to https://cppalliance.org/slack/
image_view
s from it. I have no idea though how to initialize image_view
with just a pointer, or if it is even possible. Too many abstraction layers to peel off
add_deref
functions need type specified in the type itself? I believe making the function a template would make it so much easier to use, because I found that I have to write auto deref_fn = [](...){...}; auto deref_view = ...::add_deref<decltype(deref_fn)>(view, deref_fn);
instead of just writing the lambda inline
@simmplecoder
is there any reason why add_deref functions need type specified in the type itself?
I have never analysed / considered that myself. Possibly C++98 kind of legacy.
I'm not aware of any 'factory' function deducing the types.
IMHO, breaking API/ABI is fine, especially if it will help to modernise GIL as well as GIL users codebase.
If it is not possible to extend/overload existing functions, then breaking is the only way.
What I'd suggest is: get your idea implemented, submit PR for review, and let's see.
@stefanseefeld Since time will run short soon, I have to nudge you to ensure you got this on time. Please, have a look at
Thanks @lpranam for heads up!
develop
, no ? Is there anything left to do ? (other than merge develop
to master
, I mean ?)
develop
is complete, i.e. there are no other expected commits targeted for 1.72.