-
-
Save martineno/1ec55f793bef427cb87a0610c833dc1d to your computer and use it in GitHub Desktop.
Because I have nothing better to do with my time then to transcribe silly programming memes. This compiles on macOS 10.12.5 Xcode 8.3.3. I am not the author, my source is: https://twitter.com/jarrod_dixon/status/882328017502130176
This file contains 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
#include <iostream> | |
#include <vector> | |
namespace ๐ต = std; | |
using ๐ข = int; | |
using ๐ = void; | |
using ๐ = time_t; | |
using ๐ = bool; | |
#define ๐ auto | |
#define ๐ enum | |
#define ๐ false | |
#define ๐ true | |
#define ๐น "evil" | |
#define ๐ช ๐ต::make_shared | |
#define ๐ธ virtual | |
#define ๐ฅ ๐ต::cout | |
#define ๐ซ ๐ต::endl | |
template<class ๐ฎ> | |
using ๐ = ๐ต::vector<๐ฎ>; | |
template<class ๐ฎ> | |
using ๐ = ๐ต::shared_ptr<๐ฎ>; | |
๐ ๐ { ๐ต, ๐, ๐, ๐ }; | |
๐ข ๐ฒ() { return ๐ต::rand(); } | |
๐ ๐() { return ๐; } | |
struct ๐ด { ๐ธ ๐ ๐() = 0; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
// This is outputting melon in the original | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ฅ << "๐" << ๐ซ; }; }; | |
๐ข main() { | |
if (๐() == ๐) | |
๐ฅ << "๐ฉ" << ๐ซ; | |
// The original has the strawberry missing in the vector... Sorry I mean ๐ | |
๐<๐<๐ด>> ๐ฅ = { ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>() }; | |
for (๐ ๐ : ๐ฅ) | |
๐->๐(); | |
return ๐ฒ(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment