3 ms·
> std::cout << DominoTilingCounter(4, 7).count() << '\n'; > // Fails to compile! What? But this literally does compile. The author is pretty well-versed in
by arc-in-space 6y ago
> std::cout << DominoTilingCounter(4, 7).count() << '\n';
> // Fails to compile!
What? But this literally does compile. The author is pretty well-versed in C++ so this one is a bit baffling. Just because it's a temporary doesn't mean it's forced to be const or something.