]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
7c673cae
FG
1
2#include <boost/parameter.hpp>
3
4BOOST_PARAMETER_NAME(arg1)
5BOOST_PARAMETER_NAME(arg2)
92f5a8d4 6
7c673cae 7using namespace boost::parameter;
92f5a8d4 8
7c673cae
FG
9struct callable2
10{
11 BOOST_PARAMETER_CONST_MEMBER_FUNCTION(
92f5a8d4
TL
12 (void), call, tag, (required (arg1,(int))(arg2,(int)))
13 )
7c673cae 14 {
92f5a8d4 15 call_impl(arg1, arg2);
7c673cae 16 }
92f5a8d4 17
7c673cae
FG
18 private:
19 void call_impl(int, int); // implemented elsewhere.
20};
92f5a8d4 21