Created
December 26, 2015 10:15
-
-
Save milesrout/354603a8c2643a7f4c1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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< class T > struct is_pointer_helper : std::false_type {}; | |
template< class T > struct is_pointer_helper<T*> : std::true_type {}; | |
template< class T > struct is_pointer : is_pointer_helper<typename std::remove_cv<T>::type> {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment