mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
55f0918c62
It's rare that a type truly needs a .reset function. Copy/move assignment typically accomplishes the same thing with less code and is easier to maintain since it doesn't require updating your .reset() function as new data members are added. To reset a type is conceptually the same thing as simply assigning from a newly constructed instance of the same type. |
||
---|---|---|
.. | ||
Audio | ||
Graphics | ||
install | ||
Network | ||
System | ||
TestUtilities | ||
Window | ||
CMakeLists.txt |