]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/parameter/test/literate/parameter-enabled-member-functions1.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / parameter / test / literate / parameter-enabled-member-functions1.cpp
1
2 #include <boost/parameter.hpp>
3
4 BOOST_PARAMETER_NAME(arg1)
5 BOOST_PARAMETER_NAME(arg2)
6
7 using namespace boost::parameter;
8
9 struct callable2
10 {
11 BOOST_PARAMETER_CONST_MEMBER_FUNCTION(
12 (void), call, tag, (required (arg1,(int))(arg2,(int)))
13 )
14 {
15 call_impl(arg1, arg2);
16 }
17
18 private:
19 void call_impl(int, int); // implemented elsewhere.
20 };
21