1 | // Copyright 2023 Peter Dimov. |
---|---|
2 | // Distributed under the Boost Software License, Version 1.0. |
3 | // https://www.boost.org/LICENSE_1_0.txt) |
4 | |
5 | #include <boost/array.hpp> |
6 | |
7 | int main() |
8 | { |
9 | boost::array<int, 2> a = {.elems: { 0, 1 }}; |
10 | return a[0]; |
11 | } |
12 |