Skip to content

Release: 1.4.2

Compare
Choose a tag to compare
@luncliff luncliff released this 28 Apr 04:53
9fbd5fd

I had a presentation in C++ Korea Facebook Group's Seminar. You can download and share it :)
Exploring The C++ Coroutine: Approach, Compiler, and Issues (+ 한국어 버전)

Features

Note that this version is not compatible with 1.4.1 or before.

  • Removed <coroutine/suspend.h>.
  • <coroutine/frame.h> now works with VC++ header <experimental/resumable>

Detailed descriptions are in the wiki.

#include <coroutine/frame.h>      // This header includes/overrides <experimental/coroutine>
#include <coroutine/yield.hpp>    // enumerable<T> & sequence<T>
#include <coroutine/return.h>     // return type examples for convenience
#include <coroutine/concrt.h>     // concurrency utilities over system API
#include <coroutine/channel.hpp>  // channel<T, Lockable>
#include <coroutine/net.h>        // async i/o for sockets

Support

Tool

Android NDK build is now available. It took tool long. Sorry! :(

  • Visual Studio 2017, 2019
  • CMake (3.14 or later)
  • Android Studio (see the build.gradle)

Platform

From the CI Env

  • Windows 10
    • SDK 10.0.14393.0
  • MacOS
    • Darwin-18.5.0 Xcode 10.1
  • Ubuntu 16.04
    • Linux-4.15.0-1028-gcp

From the developer's Env

  • Windows Subsystem for Linux (Ubuntu 18.04)
    • Linux 4.4.0-17763-Microsoft
      379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

Compiler

  • msvc: vc141, vc142
  • clang-cl: 7.0.1, 8.0
  • clang: 6.0.1, 7.0
  • AppleClang: 10.0.1.10010046