Hacker News new | ask | show | jobs
by macgyverismo 1663 days ago
I had written something like this and found a very interesting compiler difference between clang/gcc and MSVC. I used lambdas as parsers, which worked great for the first two compilers. Did not work at all for MSVC. It would not compile, heap-space exhausted, while clang/gcc wouldn't even show a noticeable blip on the memory usage.. Changing the lambdas out for templated functions made it work on both