Advertisement
Guest User

Untitled

a guest
May 17th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. std::vector<int> f(){
  4.     return std::vector<int>{100};
  5. }
  6. int main(){
  7.     auto t = f();
  8.     std::cout << t[0] << std::endl;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement