strongdef: delete default constructor
generally we use this for identifiers, and allowing the user to express arbitrary values from default construction isn't a great idea.
This commit is contained in:
parent
08249f530e
commit
2e54950b1a
@ -29,7 +29,7 @@ namespace util {
|
||||
using value_type = T;
|
||||
using tag_type = Tag;
|
||||
|
||||
constexpr strongdef () = default;
|
||||
constexpr strongdef () = delete;
|
||||
constexpr explicit strongdef (const T &_data): data (_data) { ; }
|
||||
constexpr strongdef (const strongdef &rhs): data (rhs.data) { ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user