]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | #include <boost/parameter.hpp> | |
3 | ||
4 | BOOST_PARAMETER_NAME(arg1) | |
5 | BOOST_PARAMETER_NAME(arg2) | |
6 | using namespace boost::parameter; | |
7 | struct callable2 | |
8 | { | |
9 | BOOST_PARAMETER_CONST_MEMBER_FUNCTION( | |
10 | (void), call, tag, (required (arg1,(int))(arg2,(int)))) | |
11 | { | |
12 | call_impl(arg1,arg2); | |
13 | } | |
14 | private: | |
15 | void call_impl(int, int); // implemented elsewhere. | |
16 | }; |