Timeline for Fast templated call back implementation
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 25, 2015 at 18:16 | history | edited | Caridorc | CC BY-SA 3.0 | more coincise title |
| Sep 19, 2013 at 0:05 | vote | accept | bjackfly | ||
| Sep 19, 2013 at 0:04 | vote | accept | bjackfly | ||
| Sep 19, 2013 at 0:05 | |||||
| Sep 18, 2013 at 18:06 | vote | accept | bjackfly | ||
| Sep 19, 2013 at 0:04 | |||||
| Sep 15, 2013 at 8:42 | answer | added | Loki Astari | timeline score: 4 | |
| Sep 15, 2013 at 8:21 | comment | added | Loki Astari | Is this an exercise just so you can practice? Fortunately what you are trying to do is already covered by std::function<>. So this is nothing that you should ever use in real code. | |
| Sep 13, 2013 at 8:15 | comment | added | bjackfly | Also what are your thoughts on the void * and performance in this case otherwise I would have a add a type T to the Callback and have one for each Callback type | |
| Sep 13, 2013 at 7:56 | comment | added | bjackfly | Some of the code wasn't pasted originally. The code shows the usage where you would have any object register it's member function for a call back. See strategy registering to get notified for prices. It would be a generic call back system that would handle member functions and functions with a single Callback/CallbackWrapper class. Also using templates in this way will give runtime information of the types at compile time. | |
| Sep 13, 2013 at 7:53 | history | edited | bjackfly | CC BY-SA 3.0 | some code showing the usage was missing from original cut and paste... |
| Sep 12, 2013 at 6:16 | history | tweeted | twitter.com/#!/StackCodeReview/status/378039372433862656 | ||
| Sep 12, 2013 at 5:48 | comment | added | Loki Astari | Sure. But why would I use this? | |
| Sep 12, 2013 at 3:38 | history | edited | bjackfly | CC BY-SA 3.0 | added 392 characters in body |
| Sep 12, 2013 at 3:07 | history | edited | Jamal | CC BY-SA 3.0 | added 56 characters in body |
| Sep 12, 2013 at 3:02 | history | asked | bjackfly | CC BY-SA 3.0 |