| constexpr std::pair<int, int> t; | |
| static_assert(t.first == 0 && t.second == 0); | |
| std::array<int, 5> arr; | |
| // assert(arr[0] == 0); // Undefined behavior |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment