On Tuesday, 30 April 2013 at 10:02:07 UTC, JR wrote:
[...]
For instance, is it possible to have MatrixWalker's F type to
have a default value of a NOP void function(), have the
innermost foreach loop check if the element is a function, and
if so call it directly without needing FuncRunner at al
On Tuesday, 30 April 2013 at 09:18:56 UTC, anonymous wrote:
On Tuesday, 30 April 2013 at 08:42:57 UTC, JR wrote:
On Tuesday, 30 April 2013 at 02:38:27 UTC, anonymous wrote:
Don't know what's going wrong there. It works for me:
http://dpaste.dzfl.pl/5c71f80e
My bad, I switched the wrong runn
On Tuesday, 30 April 2013 at 08:42:57 UTC, JR wrote:
On Tuesday, 30 April 2013 at 02:38:27 UTC, anonymous wrote:
To get rid of the cast:
[...]
Instantiating the template with a function parameter causes a
compilation error when actually calling the function;
--
asdf.d:13: Error: v
On Tuesday, 30 April 2013 at 02:38:27 UTC, anonymous wrote:
To get rid of the cast:
[...]
Instantiating the template with a function parameter causes a
compilation error when actually calling the function;
--
asdf.d:13: Error: variable asdf.MatrixWalker!(@system
void(string major,
On Monday, 29 April 2013 at 23:49:18 UTC, JR wrote:
[...]
http://dpaste.dzfl.pl/9273fb92
Can't it be done neater than this? It *does* work now, but it's
incredibly hacky and I'm not satisfied with it. The whole
'passing a function pointer to a function that casts the
signature and invokes it'
I'm piecing together a small IRC bot as my second pet project,
and next up is splitting the socket-listening/event handling into
a separate thread.
TL;DR: skip to the link at the bottom -- can't it be done neater?
Raw IRC commands are strings whose format differs depending on
the *type* of t