Commit Graph

9 Commits

Author SHA1 Message Date
Damian Jarek
e547c725a9
Fix bad static_cast in resume_with:
- fix a cast from void* to the wrong dynamic type. The code cast from
  tuple<decay_t<Fn>>* -> void* -> tuple<Fn>, which worked when an rvalue
  was passed to resume_with(), but broke if the function was passed
  by lvalue-reference, because it resulted in a cast from Fn to Fn&.
- remove use of std::tuple - no need to instantiate it for every callable.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2018-12-16 04:07:20 +01:00
Daniela Engert
129bf7c9fa
Possibly due to typos, assignments of double values were made to std::string variables.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-07-21 09:26:07 +02:00
Oliver Kowalke
7605c64d95 checked catching of forced_unwind
- based on pull request #61
2018-05-26 07:18:25 +02:00
Oliver Kowalke
388a255ee8 rvalue-ref qualified resume()/resume_with() only 2018-02-09 17:27:35 +01:00
Oliver Kowalke
109543e23d fix buffer size use by snprintf() in unit-tests 2018-02-08 09:50:40 +01:00
Oliver Kowalke
b6582f13c5 fix unit-test for fiber on Windows 2018-02-08 05:56:35 +01:00
Oliver Kowalke
c6736e478c set test suite name 2018-02-07 20:56:35 +01:00
Oliver Kowalke
f5327520d6 return fiber from resume()/resume_with() 2018-02-05 13:31:35 +01:00
Oliver Kowalke
10d3264f7b implementation of fibers without scheduler according to P0876R0 2018-02-05 13:31:32 +01:00