- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
class Test
{
public:
Test() : f(&Test::f0), f0(&Test::f1), f1( &Test::f2 ) {}
float ( Test::* const Test::* const Test::* const f)();
private:
float ( Test::* const Test::* const f0)();
float ( Test::* const f1)() ;
float f2() { return 0; }
};
Test t;
cout << (t.*(t.*(t.*(t.f))))();
scriptin 21.02.2013 18:26 # +5
Dummy00001 21.02.2013 18:59 # 0
Xom94ok 21.02.2013 18:52 # +1
http://goo.gl/xQfg4
Lure Of Chaos 22.02.2013 02:10 # 0
roman-kashitsyn 22.02.2013 08:02 # +8
LispGovno 23.02.2013 11:23 # −2
eth0 23.02.2013 12:08 # +2
LispGovno 23.02.2013 18:45 # −1
guest 22.02.2013 23:07 # +2