Skip to content

Instantly share code, notes, and snippets.

@danlark1
Created April 13, 2020 14:18
Embed
What would you like to do?
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