This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { return 0; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) Microsoft. All rights reserved. | |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | |
using PCLCrypto; | |
using System; | |
using System.Globalization; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BOOST_THREAD_PROVIDES_FUTURE | |
#define BOOST_THREAD_PROVIDES_FUTURE_UNWRAP | |
#define BOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY | |
#define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION | |
#include <boost/thread/future.hpp> | |
#include <string> | |
#include <iostream> | |
//#include <chrono> | |
//#include <windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <tchar.h> | |
#include <typeinfo> | |
#include <memory> | |
namespace std | |
{ | |
class sequential_execution_policy{ | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#if 0 // no PCH | |
#include "targetver.h" | |
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <tchar.h> | |
#include <vector> | |
#include <stack> | |
#include <ppl.h> | |
#include <windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
using namespace concurrency; | |
using namespace std; | |
class exception_list : public exception | |
{ | |
public: | |
typedef exception_ptr value_type; | |
typedef const value_type& reference; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef _WIN32 | |
#include <ppl.h> | |
using namespace concurrency; | |
#else | |
#include "tbb/parallel_invoke.h" | |
using namespace tbb; | |
#endif | |
#include <time.h> | |
#include <future> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace std; | |
class exception_list : public exception | |
{ | |
public: | |
typedef exception_ptr value_type; | |
typedef const value_type& reference; | |
typedef const value_type& const_reference; | |
typedef size_t size_type; | |
typedef vector<exception_ptr>::iterator iterator; |