Advertisement
Guest User

Untitled

a guest
May 23rd, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.64 KB | None | 0 0
  1. #include <string>
  2. #include <vector>
  3. #include <iostream>
  4.  
  5. template<typename RobloxOoh>
  6. struct semi_auto {
  7. public:
  8.    using Hurts = RobloxOoh;
  9.    RobloxOoh deep_within;
  10.    explicit semi_auto (RobloxOoh&& ooh): deep_within(ooh) {}
  11. };
  12.  
  13. int main(int argc, char** argv) {
  14.  
  15.     std::vector<std::string> loving_memories_of_auto { "auto a = b", "auto func() -> auto {}"};
  16.     semi_auto its(loving_memories_of_auto.begin());
  17.     semi_auto end(loving_memories_of_auto.end());
  18.  
  19.  
  20.     for(; its.deep_within != end.deep_within; its.deep_within++) {
  21.         std::cout << "Cries about: " << *its.deep_within << std::endl;
  22.     }
  23.  
  24.  
  25.     return 0;
  26. }
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement