Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <vector>
- #include <iostream>
- template<typename RobloxOoh>
- struct semi_auto {
- public:
- using Hurts = RobloxOoh;
- RobloxOoh deep_within;
- explicit semi_auto (RobloxOoh&& ooh): deep_within(ooh) {}
- };
- int main(int argc, char** argv) {
- std::vector<std::string> loving_memories_of_auto { "auto a = b", "auto func() -> auto {}"};
- semi_auto its(loving_memories_of_auto.begin());
- semi_auto end(loving_memories_of_auto.end());
- for(; its.deep_within != end.deep_within; its.deep_within++) {
- std::cout << "Cries about: " << *its.deep_within << std::endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement