]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/parameter/test/literate/static-member-functions0.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / parameter / test / literate / static-member-functions0.cpp
CommitLineData
7c673cae
FG
1
2#include <boost/parameter.hpp>
3#include <iostream>
92f5a8d4 4
7c673cae 5using namespace boost::parameter;
92f5a8d4 6
7c673cae
FG
7BOOST_PARAMETER_NAME(arg1)
8
9struct somebody
10{
11 BOOST_PARAMETER_MEMBER_FUNCTION(
92f5a8d4
TL
12 (void), static f, tag, (optional (arg1,(int),0))
13 )
7c673cae
FG
14 {
15 std::cout << arg1 << std::endl;
16 }
17};
92f5a8d4
TL
18
19#include <boost/core/lightweight_test.hpp>
20
21int main()
22{
23 somebody::f();
24 somebody::f(4);
25 return boost::report_errors();
26}
27