There is so much wrong with that code...

  • 3
    this... hurts
  • 9
    i guess they really need help
  • 7
    That's the weirdest char I've seen
  • 1
    I heard some multi threading issues in a software of a chemo radiation medical equipment killed lot of cancer patients during chemo process. To me that is dangerous than a parked car catching fire.
  • 23
    That is perfectly valid C++ code. Consider the following:

    template <char... Cs>
    struct String {
    static constexpr char Function() {
    return 'C';
  • 7
    @kraator it is also a retarded piece of code :D kudos for making it work though
  • 0
    @SlyCoopers enjoy my up vote sir. I don't hand those out lightly.
  • 1
    It's so beautifully bad
  • 0
    @kraator wow you just opened my eyes and taught me variadic templates
  • 0
    JUST WHY?!
  • 0
    When you define a variable of type A as type B because you're retarded
  • 1
    It is not retarded, it is an advanced template technique using variadics to deal with compile time strings. Useful when you care about performance
Add Comment