Commit bc558302 authored by Dominik Charousset's avatar Dominik Charousset

more strict template type for rvalue_builder::operator|| to provoke earlier compile time error

parent f5af386a
......@@ -188,8 +188,9 @@ struct rvalue_builder {
std::move(m_guard)}};
}
template<class Other>
disjunct_rvalue_builders<rvalue_builder, Other> operator||(Other other) const {
template<class G, class T, class P>
disjunct_rvalue_builders<rvalue_builder, rvalue_builder<G, T, P> >
operator||(rvalue_builder<G, T, P> other) const {
return {*this, std::move(other)};
}
......
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