0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Expand tab -> all_of(tab) in multi_column

This commit is contained in:
Roland Bock 2013-08-17 11:25:05 +02:00
parent 8914e3d18f
commit b7c13e3974

View File

@ -73,7 +73,7 @@ namespace sqlpp
template<typename AliasProvider, typename... NamedExpr> template<typename AliasProvider, typename... NamedExpr>
detail::make_multi_column_t<AliasProvider, NamedExpr...> multi_column(AliasProvider&& aliasProvider, NamedExpr&&... namedExpr) detail::make_multi_column_t<AliasProvider, NamedExpr...> multi_column(AliasProvider&& aliasProvider, NamedExpr&&... namedExpr)
{ {
return { decltype(make_expression_tuple(std::declval<NamedExpr>()...)){std::forward<NamedExpr>(namedExpr)...}}; return { detail::make_expression_tuple(std::forward<NamedExpr>(namedExpr)...)};
} }
} }