#Template argument requirement not satisfied

10 messages · Page 1 of 1 (latest)

glossy daggerBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

smoky bramble
#

Here's the code ^

glossy daggerBOT
#

@smoky bramble

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

smoky bramble
#

Could anyone explain why useEvent doesn't accept KeyPressEvent as the argument?

smoky bramble
#

Ah, I figured it out

#

didn't know that it called decltype

#

Changing std::same_as<const BaseEventType> to std::same_as<BaseEventType const&> did the trick

#

!close