1
Window / Re: sf::Event::MouseMoveEvent and sf::Event::MouseButtonEvent
« on: July 31, 2012, 04:32:19 pm »
Maybe you're right. Anyway thanks for taking the time to answer and good luck with the project development
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
one special guarantee is made in order toBecause these structs contain only ints and enum, they are PODs. So it's really legal to use both sf::Event::MouseMoveEvent and sf::Event::MouseButtonEvent no matter of what kind of mouse event is got.
simplify the use of unions: If a POD-union contains several POD-structs that share a common initial
sequence (9.2), and if an object of this POD-union type contains one of the POD-structs, it is permitted to
inspect the common initial sequence of any of POD-struct members