I decided to humour you for a few microseconds and compiled your code
(after fixing you omission of 'std' in the last `if constexpr`) and of
course I got the following result:
1>C:\Users\leigh\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp(25,67):
error C2039: 'element_type': is not a member of 'foo'
1>C:\Users\leigh\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp(30,8):
message : see declaration of 'foo'
1>C:\Users\leigh\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp(37,13):
message : see reference to function template instantiation 'void
jar<foo>::add<int>(int &&)' being compiled
1>C:\Users\leigh\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp(37,10):
message : see reference to function template instantiation 'void
jar<foo>::add<int>(int &&)' being compiled
1>Done building project "ConsoleApplication1.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
thereby confirming that you don't have one iota of a clue as to what you
are talking about. I guess we will just have to wait for Microsoft to
fix the bug so I can compile my original code successfully before you
will apologize for being wrong or look even more fucktarded than you
already do.
/Flibble