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:
@@ -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_){
|
||||
|
||||
Reference in New Issue
Block a user