10 struct unique_ptr<_Tp[]>
12 typedef int __tuple_type;
16 { return ::get<0>(_M_t); }
21 template <typename T> class dynamic_dispatch;
23 template <typename TC>
24 struct dynamic_dispatch<void (TC::*)(int&)>
27 unique_ptr<entry[]> m_Start;
29 template <typename UC>
30 void attach_handler(void (UC::*m)(int&))
34 } while(--p != m_Start.get());
38 template <typename TC>
39 class request_dispatcher
40 : private dynamic_dispatch<void (TC::*)(int&)>
41 { request_dispatcher(); };
45 void execute_command(int&);
49 request_dispatcher<file_reader>::request_dispatcher()
50 { this->attach_handler(&file_reader::execute_command); }