Conditions for using `std::enable_if`

Back to std::enable_if: std::enable_if works through the principle of substitution failure is not an error (SFINAE) For SFINAE to kick in it has to be used on a (member) function template and it has to be dependent on a template parameter. Consider the function: std::enable_…

Implementing if not in LaTeX

First, we create a new if: \newif\iffoo We can now implement if not conditions by using the \unless primitive: \unless\iffoo ... \fi @stephan-lehmke…