I hereby claim:
- I am jupp0r on github.
- I am jupp0r (https://keybase.io/jupp0r) on keybase.
- I have a public key whose fingerprint is 059A 2DAE 89C9 6FFF F69C 55ED CA42 D5D2 A815 21E2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
use std::collections::HashSet; | |
use std::option::Option; | |
use std::hash::{SipHasher, Hash, Hasher}; | |
struct UniqueIterator<I> { | |
iter: I, | |
seen_items: HashSet<u64>, | |
} | |
fn hash_item<T>(item: &T) -> u64 |
#include <node.h> | |
#include "Test.h" | |
namespace demo { | |
using v8::FunctionCallbackInfo; | |
using v8::Isolate; | |
using v8::Local; | |
using v8::Object; |
// compile with clang++ -g -std=c++17 -fcoroutines-ts coro.cpp | |
#include <experimental/coroutine> | |
#include <iostream> | |
struct generator { | |
struct promise_type { | |
int current_value; | |
auto initial_suspend() { return std::experimental::suspend_always{}; } |