boost/libs/parameter/test/literate/static-member-functions0.cpp
2018-01-12 21:47:58 +01:00

15 lines
282 B
C++

#include <boost/parameter.hpp>
#include <iostream>
using namespace boost::parameter;
BOOST_PARAMETER_NAME(arg1)
struct somebody
{
BOOST_PARAMETER_MEMBER_FUNCTION(
(void), static f, tag, (optional (arg1,(int),0)))
{
std::cout << arg1 << std::endl;
}
};