Commit 39d26cad authored by Dominik Charousset's avatar Dominik Charousset

inlied most member functions of `match_expr`

parent 9366bd80
......@@ -633,15 +633,15 @@ class match_expr {
init();
}
bool invoke(const any_tuple& tup) {
inline bool invoke(const any_tuple& tup) {
return invoke_impl(tup);
}
bool invoke(any_tuple& tup) {
inline bool invoke(any_tuple& tup) {
return invoke_impl(tup);
}
bool invoke(any_tuple&& tup) {
inline bool invoke(any_tuple&& tup) {
any_tuple tmp{tup};
return invoke_impl(tmp);
}
......@@ -658,15 +658,15 @@ class match_expr {
tup);
}
bool operator()(const any_tuple& tup) {
inline bool operator()(const any_tuple& tup) {
return invoke_impl(tup);
}
bool operator()(any_tuple& tup) {
inline bool operator()(any_tuple& tup) {
return invoke_impl(tup);
}
bool operator()(any_tuple&& tup) {
inline bool operator()(any_tuple&& tup) {
any_tuple tmp{tup};
return invoke_impl(tmp);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment