2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 04:02:17 +00:00

refactor all.hpp

This commit is contained in:
Oliver Kowalke
2016-12-30 00:14:28 +01:00
parent 6aafda324d
commit ac38815b6d
22 changed files with 34 additions and 23 deletions

View File

@@ -8,7 +8,7 @@
#include <iostream>
#include <memory>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
int main() {
int n=35;

View File

@@ -7,7 +7,7 @@
#include <cstdlib>
#include <iostream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
boost::context::execution_context * ctx1 = nullptr;
boost::context::execution_context * ctx2 = nullptr;

View File

@@ -7,7 +7,7 @@
#include <cstdlib>
#include <iostream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
boost::context::execution_context * ctx1 = nullptr;
boost::context::execution_context * ctx = nullptr;

View File

@@ -10,7 +10,7 @@
#include <memory>
#include <string>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/lexical_cast.hpp>
class X{

View File

@@ -11,7 +11,7 @@
#include <memory>
#include <sstream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
/*
* grammar:

View File

@@ -10,7 +10,7 @@
#include <boost/config.hpp>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#ifdef BOOST_MSVC //MS VisualStudio
__declspec(noinline) void access( char *buf);

View File

@@ -11,7 +11,7 @@
#include <libunwind.h>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -10,7 +10,7 @@
#include <iostream>
#include <emmintrin.h>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
void echoSSE( int i) {
__m128i xmm;

View File

@@ -8,7 +8,7 @@
#include <iostream>
#include <memory>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -7,7 +7,7 @@
#include <cstdlib>
#include <iostream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -7,7 +7,7 @@
#include <cstdlib>
#include <iostream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -8,7 +8,7 @@
#include <iostream>
#include <tuple>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -8,7 +8,7 @@
#include <iostream>
#include <tuple>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -11,7 +11,7 @@
#include <string>
#include <boost/variant.hpp>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/lexical_cast.hpp>
typedef boost::variant<int,std::string> variant_t;

View File

@@ -11,7 +11,7 @@
#include <memory>
#include <sstream>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
namespace ctx = boost::context;

View File

@@ -10,7 +10,7 @@
#include <stdexcept>
#include <string>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
struct my_exception : public std::runtime_error {
my_exception( std::string const& what) :

View File

@@ -1,10 +1,10 @@
// Copyright Oliver Kowalke 2014.
// Copyright Oliver Kowalke 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/context/execution_context.hpp>
#include <boost/context/continuation.hpp>
#include <boost/context/fixedsize_stack.hpp>
#include <boost/context/pooled_fixedsize_stack.hpp>
#include <boost/context/protected_fixedsize_stack.hpp>

View File

@@ -9,7 +9,7 @@
#include <iostream>
#include <stdexcept>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/cstdint.hpp>
#include <boost/program_options.hpp>

View File

@@ -9,7 +9,7 @@
#include <iostream>
#include <stdexcept>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/cstdint.hpp>
#include <boost/program_options.hpp>

View File

@@ -22,8 +22,11 @@
#include <boost/context/continuation.hpp>
#include <boost/context/detail/config.hpp>
#if defined(BOOST_MSVC)
#ifdef BOOST_WINDOWS
#include <windows.h>
#endif
#if defined(BOOST_MSVC)
# pragma warning(push)
# pragma warning(disable: 4723)
#endif

View File

@@ -16,9 +16,13 @@
#include <boost/test/unit_test.hpp>
#include <boost/utility.hpp>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/context/detail/config.hpp>
#ifdef BOOST_WINDOWS
#include <windows.h>
#endif
namespace ctx = boost::context;
int value1 = 0;

View File

@@ -19,9 +19,13 @@
#include <boost/utility.hpp>
#include <boost/variant.hpp>
#include <boost/context/all.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/context/detail/config.hpp>
#ifdef BOOST_WINDOWS
#include <windows.h>
#endif
#if defined(BOOST_MSVC)
# pragma warning(push)
# pragma warning(disable: 4723)