13 #include <QDomDocument> 23 template<QDebuggable L, QDebuggable R>
24 QDebug operator<< (QDebug out, const Either<L, R>& either)
26 QDebugStateSaver saver { out };
28 [&out] (
const L& l) { out.nospace () <<
"L { " << l <<
" }"; },
29 [&out] (
const R& r) { out.nospace () <<
"R { " << r <<
" }"; });
auto Visit(const Either< Left, Right > &either, Args &&... args)
UTIL_SLL_API QDebug operator<<(QDebug, const QDomDocument::ParseResult &)
requires(Tup1Size==Tup2Size) const expr auto ZipWith(Tup1 &&tup1