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 <type_traits> | |
#include <cstdint> | |
using namespace std; | |
// nseq | |
template<int... Is> struct nseq{}; | |
// prepend | |
template<int X, typename Seq> struct prepend; |
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 <cassert> | |
#include <cstdio> | |
#include <string> | |
using namespace std; | |
namespace f2ptr { | |
namespace details { | |
template <class...> struct type_list {}; |
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 <any> | |
#include <cassert> | |
#include <functional> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
template <class...> struct spell_type; |
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 <type_traits> | |
#include <functional> | |
template<class ...> | |
struct spell_type; | |
template <class F> struct func_to_ptr_impl : public func_to_ptr_impl<decltype(&F::operator())>{}; | |
template <class ClassType, class R, class... Args> | |
struct func_to_ptr_impl<R(ClassType::*)(Args...) const> |
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 <cassert> | |
#include <iomanip> | |
#include <iostream> | |
#include <optional> | |
#include <string> | |
#include <string_view> | |
#include <tuple> | |
using namespace std; |
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 <algorithm> | |
#include <any> | |
#include <cassert> | |
#include <iostream> | |
#include <list> | |
#include <map> | |
#include <memory> | |
#include <string> | |
#include <type_traits> | |
#include <vector> |
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 <type_traits> | |
#include <cstdint> | |
using namespace std; | |
// nseq | |
template<int... Is> struct nseq{}; | |
// prepend | |
template<int X, typename Seq> struct prepend; |
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 <algorithm> | |
#include <cassert> | |
#include <cstdlib> | |
#include <iostream> | |
#include <limits> | |
#include <list> | |
#include <map> | |
#include <queue> | |
#include <random> | |
#include <set> |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "== Compile Current File ==", | |
"command": "echo 'Compiling: ${file} ...' && TIME=\"Took: %es\" time `grep -m 1 -B3 -A0 '\"file\": \"${file}\"' compile_commands.json | cat - <(echo }) | jq -r '.command'` && echo -e \\\\e[32mCompiled successfully\\\\e[0m \\\\U0001F525", | |
"args": [], | |
"options": { | |
"cwd": "${workspaceFolder}/sources/build" |
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 <algorithm> | |
#include <cassert> | |
#include <fstream> | |
#include <functional> | |
#include <iostream> | |
#include <list> | |
#include <map> | |
#include <set> | |
#include <string> | |
#include <vector> |
NewerOlder