2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-27 17:12:10 +00:00

Correct order of constexpr and type specifier

The constexpr belongs to the declaration specifiers (like static) and
not just the type specifiers (like cv-qualifiers), so it binds to
the declaration (like static), not the type (like const).

Refines #211
This commit is contained in:
Mateusz Łoskot
2019-01-15 00:42:20 +01:00
parent da6acc6cca
commit e3ef52bb80
18 changed files with 35 additions and 35 deletions

View File

@@ -296,7 +296,7 @@ struct channel_archetype {
using const_reference = channel_archetype const;
using pointer = channel_value_archetype *;
using const_pointer = channel_value_archetype const*;
static bool constexpr is_mutable=true;
static constexpr bool is_mutable=true;
static value_type min_value();
static value_type max_value();