MIPP icon indicating copy to clipboard operation
MIPP copied to clipboard

function with constexpr mipp::Reg<float> return is refused

Open hayguen opened this issue 4 years ago • 0 comments

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?

hayguen avatar Feb 07 '22 07:02 hayguen