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
#pragma once | |
#include<tuple> | |
#include<vector> | |
namespace proloog | |
{ | |
class None{}; | |
class Var{}; | |
template<class... X> |
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
#pragma once | |
#include<tuple> | |
namespace deteil{ | |
template<class Tuple,class Visitor> | |
class _tuple_foreach | |
{ | |
public: | |
void operator()(Tuple & tuple, Visitor& visitor) |
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> | |
#include<string> | |
//VSでのみ動作を確認 | |
template<class T> | |
class Piyo | |
{ | |
public: | |
void print() | |
{ |
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
#pragma once | |
#include<chrono> | |
#include<string> | |
#include<list> | |
class DebugTimer | |
{ | |
struct Data | |
{ | |
Data(const std::string&id) |
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<boost\any.hpp> | |
#include<unordered_map> | |
#include<typeindex> | |
#include<iostream> | |
#include<string> | |
class Type2ValueMap | |
{ | |
public: | |
template<class T> |
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
#pragma once | |
#include<memory> | |
#include<unordered_map> | |
#include<initializer_list> | |
#include<type_traits> | |
/* | |
**sample** | |
struct A |
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
//sample http://txt-txt.hateblo.jp/entry/2014/01/21/180633 | |
#include<boost\variant\variant.hpp> | |
#include<type_traits> | |
#include<utility> | |
template<class F1,class F2> | |
class BiGenLambda | |
{ | |
template<class F> |
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<functional> | |
#include<tuple> | |
namespace tupleple | |
{ | |
namespace deteil{ | |
template<size_t ...R> | |
struct size_t_List{}; | |
template<size_t 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<iostream> | |
#include<string> | |
namespace iod | |
{ | |
template<class...> | |
struct iod_tuple{}; |
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
#ifndef PARAMETER_PACK_LIBRARY_HPP_140521 | |
#define PARAMETER_PACK_LIBRARY_HPP_140521 | |
#include<type_traits> | |
#include<tuple> | |
namespace ppl | |
{ | |
namespace deteil | |
{ | |
template<size_t ...Idxs> | |
struct List{}; |
OlderNewer