mirror of
https://github.com/boostorg/hana.git
synced 2026-02-13 12:32:10 +00:00
Use constexpr lambdas whenever possible. Wow.
This commit is contained in:
@@ -14,7 +14,7 @@ using namespace boost::hana;
|
||||
|
||||
|
||||
template <int ...i>
|
||||
constexpr auto array = std::array<int, sizeof...(i)>{{i...}};
|
||||
auto array = std::array<int, sizeof...(i)>{{i...}};
|
||||
|
||||
int main() {
|
||||
BOOST_HANA_STATIC_ASSERT(is_empty(array<>));
|
||||
|
||||
Reference in New Issue
Block a user