1+++
2title = "`static void _set_has_error(Impl &&, bool) noexcept`"
3description = "Sets whether the implementation has an error. Constexpr, never throws."
4categories = ["modifiers"]
5weight = 310
6+++
7
8Sets whether the implementation has an error by setting or clearing the relevant bit in the flags. Constexpr where possible.
9
10*Requires*: Always available.
11
12*Complexity*: Constant time.
13
14*Guarantees*: Never throws an exception.
15