I hereby claim:
- I am wancw on github.
- I am wancw (https://keybase.io/wancw) on keybase.
- I have a public key whose fingerprint is 9272 9A56 09C5 C44E 8AA0 7B15 D8CF FF69 08A8 E5FF
To claim this, I am signing this object:
| #ifndef __01_ITERATOR_HELPER_H__ | |
| #define __01_ITERATOR_HELPER_H__ | |
| #include <memory> | |
| /* We need a concreate iterator class */ | |
| template<typename It, typename Vt = typename It::valuetype> | |
| class IteratorPointerWrapper { | |
| public: | |
| IteratorPointerWrapper(It* iter_ptr) : iter_ptr_(iter_ptr) {} |
| #!/bin/sh | |
| TARGET_DIR="$1" | |
| shift | |
| FROM="$1" | |
| shift | |
| TO="$1" | |
| shift |
| #include <vector> | |
| #include <set> | |
| #include <string> | |
| namespace Impl { | |
| typedef std::set<std::string> elem_container; | |
| //typedef std::vector<std::string> elem_container; | |
| typedef elem_container::iterator elem_iterator; |
| [submodule "zsh-syntax-highlighting"] | |
| path = zsh-syntax-highlighting | |
| url = git://github.com/zsh-users/zsh-syntax-highlighting.git |
I hereby claim:
To claim this, I am signing this object:
| template<typename T> | |
| struct Accumulator { | |
| Accumulator(T n) : n_{n} {} | |
| template <typename U> | |
| const T& operator()(const U& i) { return n_ += i; } | |
| private: | |
| T n_; | |
| }; | |
| template <typename T> |
| // Generic template | |
| template <typename T> | |
| struct Foo { | |
| static int bar(const T& t) { return -1; } | |
| }; | |
| // Specialization | |
| class C; | |
| template<> |
| #!/usr/bin/env bash | |
| WEBRTC_REPO=http://webrtc.googlecode.com/svn/trunk | |
| WEBRTC_REV=7217 | |
| svn checkout ${WEBRTC_REPO}/talk/app/webrtc/java@r${WEBRTC_REV} peer_connection | |
| svn checkout ${WEBRTC_REPO}/webrtc/modules/audio_device/android/java@r${WEBRTC_REV} audio_device | |
| svn checkout ${WEBRTC_REPO}/webrtc/modules/video_capture/android/java@r${WEBRTC_REV} video_capture | |
| svn checkout ${WEBRTC_REPO}/webrtc/modules/video_render/android/java@r${WEBRTC_REV} video_render |
| package main | |
| import "fmt" | |
| type ( | |
| tF func(int) int | |
| tRF func(tF) tF | |
| tX func(tX) tF | |
| ) |
| #!/bin/sh | |
| export FMC_WRAPPER=`basename $0` | |
| MERGE_COMMIT=`git find-merge-commit $*` | |
| if [[ $? != 0 ]]; then | |
| exit $? | |
| fi | |
| git branch --all --contain $MERGE_COMMIT |