adding examples, fixing bugs

This commit is contained in:
badair
2016-04-01 19:35:40 -05:00
parent b481bded15
commit 5e7d426abd
22 changed files with 357 additions and 52 deletions

View File

@@ -74,7 +74,7 @@ apply(F&& f, Tuple&& t) {
std::forward<F>(f),
std::forward<Tuple>(t),
std::make_index_sequence<
std::tuple_size<std::remove_reference_t<Tuple>>::value
std::tuple_size<typename std::remove_reference<Tuple>::type>::value
>{}
);
}
@@ -162,4 +162,4 @@ void check_expression_flattening() {
using expected_exprs = std::tuple<BindExpr, inner1, inner2, inner3>;
CT_ASSERT(std::is_same<flattened_exprs, expected_exprs>{});
}
}