]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/parameter/test/literate/optional-parameters0.cpp
2 #include <boost/parameter.hpp>
8 template <typename T
= int>
14 BOOST_PARAMETER_NAME(graph
)
15 BOOST_PARAMETER_NAME(visitor
)
16 BOOST_PARAMETER_NAME(root_vertex
)
17 BOOST_PARAMETER_NAME(index_map
)
18 BOOST_PARAMETER_NAME(in_out(color_map
))
20 BOOST_PARAMETER_FUNCTION((void), f
, tag
,
23 (visitor
, *, boost::dfs_visitor
<>())
24 (root_vertex
, *, *vertices(graph
).first
)
25 (index_map
, *, get(boost::vertex_index
,graph
))
27 default_color_map(num_vertices(graph
), index_map
)