]> git.proxmox.com Git - ceph.git/blob - 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
1
2 #include <boost/parameter.hpp>
3 #include <iostream>
4
5 using namespace boost::parameter;
6
7 BOOST_PARAMETER_NAME(arg1)
8
9 struct somebody
10 {
11 BOOST_PARAMETER_MEMBER_FUNCTION(
12 (void), static f, tag, (optional (arg1,(int),0))
13 )
14 {
15 std::cout << arg1 << std::endl;
16 }
17 };
18
19 #include <boost/core/lightweight_test.hpp>
20
21 int main()
22 {
23 somebody::f();
24 somebody::f(4);
25 return boost::report_errors();
26 }
27