'What is the purpose of assert(false) in an if?
I saw this in an example Apple project called Rendering Terrain Dynamically with Argument Buffers
if (buffers.size() > 1)
{
assert (false);
return;
}
How would this behave any differently than the simpler assert(buffers.size() <= 1)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
