On 14/10/11 21:37, Piotr Beling [qwak] wrote:
> W dniu 11.10.2011 05:19, Ben Stott pisze:
>
>> my_button2->callback( [this] () { this->my_button1->label("xxx");} ); // I
>> haven't specified the return type here; it will default to void. You could
>> just as easily use "[this] () -> void {...}"
W dniu 11.10.2011 05:19, Ben Stott pisze:
> my_button2->callback( [this] () { this->my_button1->label("xxx");} ); // I
> haven't specified the return type here; it will default to void. You could
> just as easily use "[this] () -> void {...}"
This probably will not work, because
[this] () { th
So as a follow up to my previous message.
> > > You might actually have a bit of difficulty using a lambda function as a
> > > callback, because to use some of their more powerful features (like
> > > taking variable callback data) I *think* the FLTK callback functions
> > > will have to
Tue, Oct 11, 2011 10:12 am
Subject: [fltk.general] Lambda function in FLTK how to use? (FLTK
<->c++1x)
To:
On 10/10/11 14:48, Ben Stott wrote:
> You might actually have a bit of difficulty using a lambda function as a
> callback, because to use some of their more powerful f
On 10/10/11 14:48, Ben Stott wrote:
> You might actually have a bit of difficulty using a lambda function as a
> callback, because to use some of their more powerful features (like
> taking variable callback data) I *think* the FLTK callback functions
> will have to be modified slightly. However
On 11/10/11 05:44, Greg Ercolano wrote:
>
> Yaskhan writes:
>> sorry. c++0x
Being a pedant, I'll correct that to C++11. I've done the same with the
title, as well. ;-)
> I don't think anyone's tried using c++0x with fltk yet.
>
> Assuming c++0x is back compatible with C++ (I don't kno
6 matches
Mail list logo