Skip to content
Snippets Groups Projects
  1. Mar 10, 2019
  2. Mar 05, 2019
    • Lioncash's avatar
      core/hle/ipc: Remove unnecessary includes · 02bc9e9d
      Lioncash authored
      Removes a few inclusion dependencies from the headers or replaces
      existing ones with ones that don't indirectly include the required
      headers.
      
      This allows removing an inclusion of core/memory.h, meaning that if the
      memory header is ever changed in the future, it won't result in
      rebuilding the entirety of the HLE services (as the IPC headers are used
      quite ubiquitously throughout the HLE service implementations).
      02bc9e9d
  3. Nov 16, 2018
  4. Aug 28, 2018
    • Lioncash's avatar
      hle/result: Make ResultVal's move constructor as noexcept · f1bc62bb
      Lioncash authored
      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.
      f1bc62bb
  5. May 23, 2018
  6. May 19, 2018
  7. Mar 28, 2018
  8. Feb 27, 2018
  9. Jan 21, 2018
  10. Oct 31, 2017
  11. Jun 19, 2017
  12. Jun 06, 2017
  13. May 25, 2017
  14. May 15, 2017
  15. Feb 13, 2017
  16. Dec 05, 2016
  17. Nov 29, 2016
  18. Nov 19, 2016
  19. Sep 21, 2016
  20. Sep 19, 2016
  21. Sep 18, 2016
  22. Jul 04, 2016
  23. Jun 30, 2016
  24. Jun 01, 2016
  25. May 13, 2016
  26. Apr 30, 2016
  27. Apr 27, 2016
  28. Mar 31, 2016
  29. Mar 20, 2016
  30. Mar 05, 2016
  31. Feb 12, 2016
Loading