Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/boost/xpressive/detail/core/adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct xpression_adaptor
}

private:
xpression_adaptor &operator =(xpression_adaptor const &);
BOOST_DELETED_FUNCTION(xpression_adaptor &operator =(xpression_adaptor const &))
};

///////////////////////////////////////////////////////////////////////////////
Expand Down
20 changes: 10 additions & 10 deletions include/boost/xpressive/detail/core/finder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ struct boyer_moore_finder
}

private:
boyer_moore_finder(boyer_moore_finder const &);
boyer_moore_finder &operator =(boyer_moore_finder const &);
BOOST_DELETED_FUNCTION(boyer_moore_finder(boyer_moore_finder const &))
BOOST_DELETED_FUNCTION(boyer_moore_finder &operator =(boyer_moore_finder const &))

boyer_moore<BidiIter, Traits> bm_;
};
Expand Down Expand Up @@ -79,8 +79,8 @@ struct hash_peek_finder
}

private:
hash_peek_finder(hash_peek_finder const &);
hash_peek_finder &operator =(hash_peek_finder const &);
BOOST_DELETED_FUNCTION(hash_peek_finder(hash_peek_finder const &))
BOOST_DELETED_FUNCTION(hash_peek_finder &operator =(hash_peek_finder const &))

template<typename ICase>
BidiIter find_(BidiIter begin, BidiIter end, Traits const &tr, ICase) const
Expand Down Expand Up @@ -134,8 +134,8 @@ struct line_start_finder
}

private:
line_start_finder(line_start_finder const &);
line_start_finder &operator =(line_start_finder const &);
BOOST_DELETED_FUNCTION(line_start_finder(line_start_finder const &))
BOOST_DELETED_FUNCTION(line_start_finder &operator =(line_start_finder const &))

char_class_type newline_;
};
Expand Down Expand Up @@ -184,8 +184,8 @@ struct line_start_finder<BidiIter, Traits, 1u>
}

private:
line_start_finder(line_start_finder const &);
line_start_finder &operator =(line_start_finder const &);
BOOST_DELETED_FUNCTION(line_start_finder(line_start_finder const &))
BOOST_DELETED_FUNCTION(line_start_finder &operator =(line_start_finder const &))

bool bits_[256];
};
Expand All @@ -208,8 +208,8 @@ struct leading_simple_repeat_finder
}

private:
leading_simple_repeat_finder(leading_simple_repeat_finder const &);
leading_simple_repeat_finder &operator =(leading_simple_repeat_finder const &);
BOOST_DELETED_FUNCTION(leading_simple_repeat_finder(leading_simple_repeat_finder const &))
BOOST_DELETED_FUNCTION(leading_simple_repeat_finder &operator =(leading_simple_repeat_finder const &))
};

}}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace boost { namespace xpressive { namespace detail
}

private:
alternate_matcher &operator =(alternate_matcher const &);
BOOST_DELETED_FUNCTION(alternate_matcher &operator =(alternate_matcher const &))

bool can_match_(char_type ch, Traits const &tr) const
{
Expand Down
4 changes: 2 additions & 2 deletions include/boost/xpressive/detail/core/matcher/attr_matcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace boost { namespace xpressive { namespace detail
return this->traits_.translate(ch1);
}
private:
char_translate &operator =(char_translate const &);
BOOST_DELETED_FUNCTION(char_translate &operator =(char_translate const &))
};

///////////////////////////////////////////////////////////////////////////////
Expand All @@ -63,7 +63,7 @@ namespace boost { namespace xpressive { namespace detail
return this->traits_.translate_nocase(ch1);
}
private:
char_translate &operator =(char_translate const &);
BOOST_DELETED_FUNCTION(char_translate &operator =(char_translate const &))
};

///////////////////////////////////////////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace boost { namespace xpressive { namespace detail
|| this->xpr_.BOOST_NESTED_TEMPLATE push_match<Next>(state);
}

optional_matcher &operator =(optional_matcher const &);
BOOST_DELETED_FUNCTION(optional_matcher &operator =(optional_matcher const &))
};

///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -113,7 +113,7 @@ namespace boost { namespace xpressive { namespace detail
|| this->xpr_.BOOST_NESTED_TEMPLATE push_match<Next>(state);
}

optional_mark_matcher &operator =(optional_mark_matcher const &);
BOOST_DELETED_FUNCTION(optional_mark_matcher &operator =(optional_mark_matcher const &))
};

}}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace boost { namespace xpressive { namespace detail
}

private:
simple_repeat_matcher &operator =(simple_repeat_matcher const &);
BOOST_DELETED_FUNCTION(simple_repeat_matcher &operator =(simple_repeat_matcher const &))
};

// BUGBUG can all non-greedy quantification be done with the fixed width quantifier?
Expand Down
6 changes: 3 additions & 3 deletions include/boost/xpressive/detail/core/peeker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct char_sink
hash_peek_bitset<char_type> &bset_;
Traits const &traits_;
private:
char_sink &operator =(char_sink const &);
BOOST_DELETED_FUNCTION(char_sink &operator =(char_sink const &))
};

///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -259,8 +259,8 @@ struct xpression_peeker
}

private:
xpression_peeker(xpression_peeker const &);
xpression_peeker &operator =(xpression_peeker const &);
BOOST_DELETED_FUNCTION(xpression_peeker(xpression_peeker const &))
BOOST_DELETED_FUNCTION(xpression_peeker &operator =(xpression_peeker const &))

template<typename Traits>
Traits const &get_traits_() const
Expand Down
2 changes: 1 addition & 1 deletion include/boost/xpressive/detail/core/regex_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ struct regex_impl
#endif

private:
regex_impl &operator =(regex_impl const &);
BOOST_DELETED_FUNCTION(regex_impl &operator =(regex_impl const &))
};

template<typename BidiIter>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/xpressive/detail/static/static.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct static_xpression

private:

static_xpression &operator =(static_xpression const &);
BOOST_DELETED_FUNCTION(static_xpression &operator =(static_xpression const &))

template<typename Char>
void peek_next_(mpl::true_, xpression_peeker<Char> &peeker) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace boost { namespace xpressive { namespace grammar_detail
}

private:
merge_charset &operator =(merge_charset const &);
BOOST_DELETED_FUNCTION(merge_charset &operator =(merge_charset const &))

template<typename Expr, typename Tag>
void call_(Expr const &expr, Tag) const
Expand Down
2 changes: 1 addition & 1 deletion include/boost/xpressive/detail/utility/sequence_stack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct sequence_stack
chunk *back_, *next_;

private:
chunk &operator =(chunk const &);
BOOST_DELETED_FUNCTION(chunk &operator =(chunk const &))
};

chunk *current_chunk_;
Expand Down