Last active
September 1, 2016 03:03
-
-
Save Zerophase/1f75e0aeb3bae792e6ef7d7de8ff582c 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
void test(std::vector<int> test) | |
{ | |
for (const auto t : test) | |
{ | |
std::cout << t << std::endl; | |
} | |
} | |
int main() | |
{ | |
// this works. | |
test({1,2,3,4}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment