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_…
Refactoring Flow Control and Conditionals
Great set of tips! EDIT: even more tips, here…
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…