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 <iostream> | |
template<size_t ...N> | |
struct Max; | |
template<size_t N> | |
struct Max<N> | |
{ | |
static constexpr size_t value = N; | |
}; |
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 <chrono> | |
#include <iostream> | |
namespace detail | |
{ | |
namespace chrono | |
{ | |
template<typename P> | |
struct UnitName; |
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
#!/bin/sh | |
# git-new-workdirのパス | |
GIT_WD_PATH=/usr/local/share/git-core/contrib/workdir/git-new-workdir | |
BRANCH_NAME= | |
WORKDIR_NAME= | |
REMOTE_URL=`git config --get remote.origin.url` |
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 <iostream> | |
#include <vector> | |
/* -- ここから -- */ | |
template<typename T, typename C = int> | |
class Element | |
{ | |
template<typename S> | |
friend class Iterator; |
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 <iostream> | |
#define def_t(n) \ | |
typename T ## n = __type_util::_void | |
#define def_m(n) T ## n t ## n; | |
#define check(n) typename __type_util::is_void<T ## n, T>::type* = 0 | |
#define def_a(n) \ | |
template<typename T> \ |