yuzu/src
Lioncash f1bc62bb4c hle/result: Make ResultVal's move constructor as noexcept
Many containers within the standard library provide different behaviors
based on whether or not a move constructor/assignment operator can be
guaranteed not to throw or not.

Notably, implementations will generally use std::move_if_noexcept (or an
internal implementation of it) to provide strong exception guarantees.
If a move constructor potentially throws (in other words, is not
noexcept), then certain behaviors will create copies, rather than moving
the values.

For example, consider std::vector. When a std::vector calls resize(),
there are two ways the elements can be relocated to the new block of
memory (if a reallocation happens), by copy, or by moving the existing
elements into the new block of memory. If a type does not have a
guarantee that it will not throw in the move constructor, a copy will
happen. However, if it can be guaranteed that the move constructor won't
throw, then the elements will be moved.

This just allows ResultVal to be moved instead of copied all the time if
ever used in conjunction with containers for whatever reason.
2018-08-28 09:39:50 -04:00
..
audio_core audio_core/filter: Add explicit cast to assignment in Process() 2018-08-21 12:32:37 -04:00
common Merge pull request #1170 from lioncash/ret 2018-08-27 18:18:31 -04:00
core hle/result: Make ResultVal's move constructor as noexcept 2018-08-28 09:39:50 -04:00
input_common input_common: Use std::move where applicable 2018-08-02 21:51:11 -04:00
tests externals: Update catch to 2.3.0 2018-08-07 19:26:13 -04:00
video_core renderer_opengl: Implement a new shader cache. 2018-08-27 18:26:46 -04:00
yuzu yuzu: Fix stick UI direction order 2018-08-28 00:59:21 +02:00
yuzu_cmd Port #3353 from Citra 2018-08-21 01:14:06 +02:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt audio_core: Add initial code for keeping track of audout state. 2018-07-27 22:33:31 -04:00