Created
July 11, 2014 10:22
-
-
Save Mischa-Alff/663c52b0f7f4338ffb56 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
namespace std | |
{ | |
template <typename T, typename Y> T* begin(std::pair<T*, Y> const& p){ return p.first; } | |
template <typename T, typename Y> T* end(std::pair<T*, Y> const& p){ return p.second*sizeof(p.first); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment