-
Notifications
You must be signed in to change notification settings - Fork 101
function with constexpr mipp::Reg<float> return is refused #40
Open
Description
trying to create a function with constexpr mipp::Reg<float> return, the compiler refuses with following error message:
/home/ayguen/.local/include/mipp/mipp_object.hxx:23:7: note: ‘mipp::Reg’ is not literal because:
23 | class Reg
| ^~~
/home/ayguen/.local/include/mipp/mipp_object.hxx:23:7: note: ‘mipp::Reg’ has a non-trivial destructor
haven't dived into the sources yet ..
why is there any need for a non-trivial destructor?
is there a simple way to deactivate it?
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.