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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user