Extend key features section

This commit is contained in:
Dmitry Marakasov 2015-09-07 19:05:48 +03:00
parent 4bbd976ced
commit 40d4b4773d

View File

@ -115,17 +115,22 @@ each with a subset of methods corresponding to SDL functions working
with specific types of objects and, in some cases, additional convenience with specific types of objects and, in some cases, additional convenience
methods. These classes support: methods. These classes support:
- RAII-style initialization and destruction * RAII-style initialization and destruction, automatic resource lifetime
- Total error checking: exceptions are thrown if any SDL function fails. control (you no longer need to care of manually freeing your stuff)
Exception itself allows retrieval of SDL error string * Total error checking: exceptions are thrown if any SDL function fails.
- C++11 move semantics support, which allow you to store SDL objects Exception itself allows retrieval of SDL error string (you no longer
in containers and pass/return them by value with no overhead need to manually check return code after each function call)
* Method overloading, default arguments, method chaining allow shorter
and cleaner code
* C++11 move semantics support, which allow you to store SDL objects
in containers and pass/return them by value without noticeable overhead
Set of functional exensions above SDL2 is also available: Set of functional extensions above SDL2 is also available:
* RWops adapters for C++ containers and streams * RWops adapters for C++ containers and streams
* Optional object to safely handle values which may not be present, * Optional object to safely handle values which may not be present,
(for which SDL2 usually uses NULL pointers) (for which SDL2 usually uses NULL pointers)
* Number of additional methods and operator support for Point and Rect
## Building ## ## Building ##