aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-29 02:47:01 -0400
committerRodrigo Locatti <reinuseslisp@airmail.cc>2019-05-31 04:44:02 -0300
commit1edf018319a7ca7fcc88406f1fd73e180b7c0b63 (patch)
treef9e110a03f3ce287cd7c9a5a6a7eb07948fd2f72 /src/input_common/sdl/sdl_impl.cpp
parented74a3cb8b69841bd34344b1387320c0d8912979 (diff)
common/math_util: Provide a template deduction guide for Common::Rectangle
Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions