mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 09:07:26 +02:00
@ -16,8 +16,8 @@ namespace
|
||||
{
|
||||
struct search_for
|
||||
{
|
||||
explicit search_for(int search)
|
||||
: search(search)
|
||||
explicit search_for(int in_search)
|
||||
: search(in_search)
|
||||
{}
|
||||
|
||||
template<typename T>
|
||||
|
@ -17,8 +17,8 @@ namespace
|
||||
{
|
||||
struct search_for
|
||||
{
|
||||
explicit search_for(int search)
|
||||
: search(search)
|
||||
explicit search_for(int in_search)
|
||||
: search(in_search)
|
||||
{}
|
||||
|
||||
template<typename T>
|
||||
|
@ -81,8 +81,8 @@ struct count_ints
|
||||
typename result<count_ints(CountT, T)>::type
|
||||
operator()(CountT const&, T const&) const
|
||||
{
|
||||
typedef typename result<count_ints(CountT, T)>::type result;
|
||||
return result();
|
||||
typedef typename result<count_ints(CountT, T)>::type result_;
|
||||
return result_();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -16,8 +16,8 @@ namespace
|
||||
{
|
||||
struct search_for
|
||||
{
|
||||
explicit search_for(int search)
|
||||
: search(search)
|
||||
explicit search_for(int in_search)
|
||||
: search(in_search)
|
||||
{}
|
||||
|
||||
template<typename T>
|
||||
|
@ -31,7 +31,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(int x, int y) : x(x), y(y) {}
|
||||
point(int in_x, int in_y) : x(in_x), y(in_y) {}
|
||||
|
||||
int get_x() const { return x; }
|
||||
int get_y() const { return y; }
|
||||
|
@ -31,7 +31,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(int x, int y) : x(x), y(y) {}
|
||||
point(int in_x, int in_y) : x(in_x), y(in_y) {}
|
||||
|
||||
int get_x() const { return x; }
|
||||
int get_y() const { return y; }
|
||||
|
@ -32,7 +32,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(X x, Y y) : x(x), y(y) {}
|
||||
point(X in_x, Y in_y) : x(in_x), y(in_y) {}
|
||||
|
||||
X get_x() const { return x; }
|
||||
Y get_y() const { return y; }
|
||||
|
@ -38,7 +38,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(int x, int y) : x(x), y(y) {}
|
||||
point(int in_x, int in_y) : x(in_x), y(in_y) {}
|
||||
|
||||
int get_x() const { return x; }
|
||||
int get_y() const { return y; }
|
||||
|
@ -38,7 +38,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(int x, int y) : x(x), y(y) {}
|
||||
point(int in_x, int in_y) : x(in_x), y(in_y) {}
|
||||
|
||||
int get_x() const { return x; }
|
||||
int get_y() const { return y; }
|
||||
|
@ -40,7 +40,7 @@ namespace ns
|
||||
public:
|
||||
|
||||
point() : x(0), y(0) {}
|
||||
point(X x, Y y) : x(x), y(y) {}
|
||||
point(X x_, Y y_) : x(x_), y(y_) {}
|
||||
|
||||
X get_x() const { return x; }
|
||||
Y get_y() const { return y; }
|
||||
|
@ -26,7 +26,7 @@ BOOST_FUSION_ADAPT_STRUCT(
|
||||
(int, int_)
|
||||
(std::string, string_)
|
||||
(double, double_)
|
||||
);
|
||||
)
|
||||
|
||||
namespace fusion = boost::fusion;
|
||||
|
||||
|
Reference in New Issue
Block a user