Negations Using Concepts

Get an overview of how negation works with concepts.

!a is not the opposite of a

When we talk about concepts, the opposite of a true expression is not an expression that is evaluated to false. Let’s suppose we have a function foo() that takes two parameters, T bar and U baz. We have some constraints on them. One of them must have a nested type Blah that is unsigned.

Get hands-on with 1200+ tech skills courses.