@mvandevander Which features are you talking about? (screenshot?)
-
-
Replying to @cmuratori
@cmuratori Function pointers, off the top of my head.1 reply 0 retweets 0 likes -
Replying to @mvandevander
@mvandevander Ah - yeah those are very very simple to use, you should definitely try them, you will like them.1 reply 0 retweets 0 likes -
Replying to @cmuratori
@mvandevander I showed how to do the typedef in the article. And that's really all you need. After that you can just declare pointers.1 reply 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori Yeah, it's just unfamiliar to me, so I didn't really follow what was being done with them. Wouldn't expect you to explain though.2 replies 0 retweets 0 likes -
Replying to @mvandevander
@mvandevander void Foo(int A) { ... } typedef void foo(int); foo *Ptr = Foo; Ptr(5); // This will call Foo.1 reply 0 retweets 0 likes -
Replying to @cmuratori
@mvandevander So it's basically a way of having a variable that can be used like a function, and it calls whatever function you set.2 replies 0 retweets 0 likes -
Replying to @cmuratori
@mvandevander Make sense? So maybe you have 12 different functions, and you can just set a variable to the one you want and pass it around.1 reply 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori Ah, hmm. As long as they have the same parameters, you can swap out the function, I guess? Good way to fold up code I imagine.1 reply 0 retweets 0 likes -
Replying to @mvandevander
@mvandevander Exactly. So, in the Lister Panel, there's a bunch of filters and you want to enable/disable them.1 reply 0 retweets 0 likes
@mvandevander So you just store a set of bool/function pointer pairs, and iterate over them. Etc., etc.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.