Created
May 2, 2018 22:31
-
-
Save bmagyar/41414f372e64128af3935f6c78c1ef0a 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
#include <memory> | |
template <typename T> | |
class Fancy | |
{}; | |
template <typename T> | |
using FancySharedPtr = std::shared_ptr<Fancy<T> >; | |
int main(int argc, char** argv) | |
{ | |
Fancy<int> f; | |
FancySharedPtr<int> f2; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment