Timeline for Fast templated call back implementation
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 19, 2013 at 0:05 | vote | accept | bjackfly | ||
| Sep 18, 2013 at 18:19 | comment | added | bjackfly | with regards to my move comment I guess I was thinking it would be a copy elision situation. | |
| Sep 18, 2013 at 18:16 | comment | added | bjackfly | Also the R CallbackWrapper (void* o, Arg a) is used to hide the member function details to create a generic function pointer can I just get rid of this using std::bind then? I think an example would help me out. | |
| Sep 18, 2013 at 18:12 | comment | added | bjackfly | With the emplace_back I thought it would just do a move of the copied argument object in place instead of a copy. Is this not the case? This is the reason why I was calling emplace_back to try and remove the copy | |
| Sep 18, 2013 at 18:09 | comment | added | bjackfly | Do you have some code that uses std::bind and std::function to do equivalent? I think I need to review something like that | |
| Sep 18, 2013 at 18:06 | vote | accept | bjackfly | ||
| Sep 19, 2013 at 0:04 | |||||
| Sep 18, 2013 at 18:02 | comment | added | bjackfly | Thanks for the help I need to review how to do this using std::function and std::bind. I was using templates to help with registering the objects at compile versus runtime. | |
| Sep 15, 2013 at 8:42 | history | answered | Loki Astari | CC BY-SA 3.0 |