2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-01 20:42:10 +00:00
Files
gil/test/error_if.cpp
2007-11-25 18:38:02 +00:00

8 lines
108 B
C++
Executable File

#include <exception>
void error_if(bool condition) {
if (condition)
throw std::exception();
}