Created
September 26, 2010 12:43
-
-
Save engie/597890 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<typename Signature> | |
class callback | |
{ | |
}; | |
template<typename R , typename ARG_TYPE0> | |
class callback<R( ARG_TYPE0)> | |
{ | |
public: | |
callback() {} | |
}; | |
template< typename ARG_TYPE0> | |
class callback<void( ARG_TYPE0)> | |
{ | |
public: | |
callback() {} | |
}; | |
int main(int argc, char** argv) | |
{ | |
callback<void(const int&)> op; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clang (revision: 114794) produces error: