Jump to content

  • Log In with Google      Sign In   
  • Create Account

Journal of Aardvajk



Varadic templates and signals/slots

Posted by Aardvajk, 03 June 2014 · 183 views

Been playing around with a typesafe signal/slot system (yes another one) using varadic templates tonight. Its so much cleaner than the existing approaches pre-C++0x. It's a real demonstration of the usefulness of this awesome new feature:#include <iostream>#include <vector>#include <string>template<class... Args> class Sign...





June 2014 »

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Recent Entries

Recent Comments

Recent Entries

Recent Comments

PARTNERS