mirror of
https://github.com/boostorg/parameter.git
synced 2026-01-30 08:02:33 +00:00
18 lines
480 B
C++
18 lines
480 B
C++
|
|
#line 1154 "/home/daniel/dev/boost/trunk/libs/parameter/doc/index.rst"
|
|
#include <boost/parameter.hpp>
|
|
#include <iostream>
|
|
using namespace boost::parameter;
|
|
#line 1142 "/home/daniel/dev/boost/trunk/libs/parameter/doc/index.rst"
|
|
BOOST_PARAMETER_NAME(arg1)
|
|
BOOST_PARAMETER_NAME(arg2)
|
|
|
|
struct callable2
|
|
{
|
|
BOOST_PARAMETER_CONST_MEMBER_FUNCTION(
|
|
(void), call, tag, (required (arg1,(int))(arg2,(int))))
|
|
{
|
|
std::cout << arg1 << ", " << arg2 << std::endl;
|
|
}
|
|
};
|