You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
voidtest_color()
{
// #69: colors can be created
{
const color red = color::red;
const color black = color::black;
const color white = color::white;
static_assert(red != black, "red is not black");
static_assert(red != white, "red is not white");
}
}
A static_assert is similar to an assert, except that the test happens during compiling (whatever that is :-) )
No description provided.
The text was updated successfully, but these errors were encountered: