mirror of
https://github.com/boostorg/gil.git
synced 2026-02-26 16:52: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:
@@ -97,7 +97,7 @@ struct mandelbrot_fn
|
||||
using const_reference = value_type;
|
||||
using argument_type = point_t;
|
||||
using result_type = reference;
|
||||
static bool constexpr is_mutable = false;
|
||||
static constexpr bool is_mutable = false;
|
||||
|
||||
value_type _in_color,_out_color;
|
||||
point_t _img_size;
|
||||
|
||||
Reference in New Issue
Block a user