2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-26 06:22:42 +00:00

move classes to namespace std

This commit is contained in:
Oliver Kowalke
2023-04-08 10:23:26 +02:00
parent d67f4bb6ce
commit 7e556147fa
44 changed files with 139 additions and 1142 deletions

View File

@@ -12,9 +12,7 @@
#include <memory>
#include <sstream>
#include <boost/context/fiber_context.hpp>
namespace ctx = boost::context;
#include <boost/context/fiber_context>
/*
* grammar:
@@ -98,7 +96,7 @@ int main() {
char c;
bool done = false;
// execute parser in new execution context
ctx::fiber_context source{[&is,&c,&done](ctx::fiber_context && sink){
std::fiber_context source{[&is,&c,&done](std::fiber_context && sink){
// create parser with callback function
Parser p( is,
[&sink,&c](char c_){