Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- std::vector<int> f(){
- return std::vector<int>{100};
- }
- int main(){
- auto t = f();
- std::cout << t[0] << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement