Created
April 13, 2020 14:18
-
-
Save danlark1/013aec2d1db5b1b4fc17134112553933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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