2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-19 14:32:10 +00:00
Files
gil/test/error_if.cpp
2007-11-19 18:34:59 +00:00

8 lines
108 B
C++
Executable File

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