This file contains hidden or 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 <iostream> | |
#include <tuple> | |
auto GoLikeFunc() { | |
return std::tuple(100, true); | |
} | |
int main() { | |
auto [val, status] = GoLikeFunc(); | |
if (status) |
This file contains hidden or 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
1033edge.com | |
11mail.com | |
123.com | |
123box.net | |
123india.com | |
123mail.cl | |
123qwe.co.uk | |
150ml.com | |
15meg4free.com | |
163.com |
This file contains hidden or 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
1033edge.com | |
11mail.com | |
123.com | |
123box.net | |
123india.com | |
123mail.cl | |
123qwe.co.uk | |
150ml.com | |
15meg4free.com | |
163.com |
This file contains hidden or 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 <iostream> | |
#include <thread> | |
#include <nghttp2/asio_http2_server.h> | |
using namespace nghttp2::asio_http2; | |
using namespace nghttp2::asio_http2::server; | |
int main(int argc, char *argv[]) { | |
std::thread::id this_id = std::this_thread::get_id(); | |
std::cout << "Main thread running at " << this_id << std::endl; |
This file contains hidden or 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 <glog/logging.h> | |
#include <boost/thread.hpp> | |
#include <boost/chrono.hpp> | |
#include <iostream> | |
void logger() | |
{ | |
int num = 1000000; | |
auto tid = boost::this_thread::get_id(); | |
auto before = boost::chrono::system_clock::now(); |