simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] [PATCH] use static callbacks instead of template pa


From: Michael Hennebry
Subject: Re: [Simulavr-devel] [PATCH] use static callbacks instead of template param for IOReg
Date: Thu, 29 Jun 2017 20:25:34 -0500 (CDT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Thu, 29 Jun 2017, panic wrote:

ping?
I would /really/ like to see some progress here....

- panic

panic:
ping? any comments?

I'll have a comment in the somewht near future.
'Tis been a while since I examined the source in any detail,
so the somewhat near future may be a few days.

panic:
Michael Hennebry:
Would something like this help:
[snip]

To me this looks a bit like reinventing std::function/std::bind.

But I'd do something similar to your proposal, using std::function that
was added in C++11. GCC in current Debian stable is 6.3.0. Since GCC/g++
6, -std= defaults to c++14, so the feature is available for free:

http://en.cppreference.com/w/cpp/utility/functional

--
Michael   address@hidden
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                             --  someeecards



reply via email to

[Prev in Thread] Current Thread [Next in Thread]