Last active
April 1, 2018 16:13
-
-
Save tyabu12/f568c12e26481af6e53b 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
template<typename T, std::size_t N> | |
inline std::size_t array_length(const T(&)[N]) { return N; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment