]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/parameter/test/literate/fine-grained-name-control0.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / parameter / test / literate / fine-grained-name-control0.cpp
1
2 #include <boost/parameter.hpp>
3 BOOST_PARAMETER_NAME((pass_foo, keywords) foo)
4
5 BOOST_PARAMETER_FUNCTION(
6 (int), f,
7 keywords, (required (foo, *)))
8 {
9 return foo + 1;
10 }
11
12 int x = f(pass_foo = 41);
13 int main()
14 {}
15