|
#define SRUTIL_DELEGATE_PREFERRED_SYNTAX
#include <srutil/delegate/delegate.hpp>
using namespace srutil;
int main()
{
delegate<void ()> d1; d1;
delegate<int ()> d2; d2;
delegate<void (int)> d3; d3;
delegate<int (int)> d4; d4;
delegate<void (int, long, float, double, void*)> d5; d5;
return 0;
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm MS in Math (with honor). I've been working as a software engineer in the Vessel Traffic System department since the year 2002.
I like the C++, riddle solving, travelling and sports. My daughter was born when I was participating in a rock climbing competition (4 Jul 2004). Also I took up kayaking and skydiving, but unfortunately now I have no time for it.
I have about 4 years experience in ACM ICPC (ICP contests). The best achievement is 18-th place in World Finals (2002).