emlabcpp
modern opinionated embedded C++ library
coroutine.h File Reference
#include "../coro/data_promise.h"
#include "../coro/memory_promise.h"
#include "../coro/owning_coroutine_handle.h"
#include <coroutine>
+ Include dependency graph for coroutine.h:

Go to the source code of this file.

Classes

struct  emlabcpp::testing::wait_interface
 
class  emlabcpp::testing::coroutine< T >
 
struct  emlabcpp::testing::coroutine< T >::promise_type
 
struct  emlabcpp::testing::status_awaiter
 

Namespaces

 emlabcpp
 MIT License.
 
 emlabcpp::testing
 MIT License.
 

Enumerations

enum class  emlabcpp::testing::coro_state : uint8_t {
  emlabcpp::testing::WAITING = 0x1 ,
  emlabcpp::testing::ERRORED = 0x3 ,
  emlabcpp::testing::SKIPPED = 0x4 ,
  emlabcpp::testing::FAILED = 0x5 ,
  emlabcpp::testing::DONE = 0x6
}
 

Functions

status_awaiter emlabcpp::testing::expect (bool expr)
 
status_awaiter emlabcpp::testing::fail ()
 
status_awaiter emlabcpp::testing::skip ()