strongdef: allow constructor to be implicit
This commit is contained in:
parent
c6cefe219d
commit
8cd33ae5e5
@ -30,7 +30,7 @@ namespace util {
|
||||
using tag_type = Tag;
|
||||
|
||||
constexpr strongdef () = delete;
|
||||
constexpr explicit strongdef (const T &_data): data (_data) { ; }
|
||||
constexpr strongdef (const T &_data): data (_data) { ; }
|
||||
|
||||
// explicitly disable assignment with unequal types or tags. this
|
||||
// prevents the converion operator getting invoked and falsely
|
||||
|
Loading…
Reference in New Issue
Block a user