Jump to content

June 2014 »

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

Recent Entries

Recent Entries

View more

Journal of Aardvajk

4: Adsense

Varadic templates and signals/slots

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...