That is, when compiling a program, it is necessary to output not a standard error code and its description, but your own text, is it possible by means of C ++ itself?
|
That is, when compiling a program, it is necessary to output not a standard error code and its description, but your own text, is it possible by means of C ++ itself?
Source: https://ru.stackoverflow.com/questions/254692/
All Articles
#errororstatic_assert. The second is supported only in C ++ 11, so for pre-C ++ 11 compilers you will have to use BOOST_STATIC_ASSERT with a less clear error message. - Costantino Rupert