Created
November 24, 2019 21:20
-
-
Save dmjio/14adc0232fbc980e376dc74f066171cc 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
#include <stdio.h> | |
#include <iostream> | |
#include <memory> | |
typedef std::unique_ptr<int> Ptr; | |
int main() | |
{ | |
printf("Hello, world!\n"); | |
std::cout << "hey" << std::endl; | |
return 0; | |
} |
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
[nix-shell:~/Desktop/geos]$ aarch64-apple-ios-clang++ main.cpp | |
main.cpp:5:14: error: no template named 'unique_ptr' in namespace 'std' | |
typedef std::unique_ptr<int> Ptr; | |
~~~~~^ | |
1 error generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment