This file contains hidden or 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/bash | |
# include this boilerplate | |
function jumpto | |
{ | |
label=$1 | |
cmd=$(sed -n "/#$label:/{:a;n;p;ba};" $0) | |
eval "$cmd" | |
exit | |
} | |
start=${1:-"start"} |
This file contains hidden or 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 <forward_list> | |
template <typename Type, typename Allocator = std::allocator <Type>, typename SizeType = std::size_t> | |
class | |
stack | |
{ | |
public: | |
using value_type = Type; | |
using allocator_type = Allocator; | |
using reference = value_type &; |
This file contains hidden or 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 <array> | |
#include <functional> | |
#include <iostream> | |
#include <new> | |
#include <type_traits> | |
#include <vector> | |
#define M 2 | |
#define N 4 | |
#define P 2 |
This file contains hidden or 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
int main() | |
{ | |
auto t = make_scoped( | |
task( | |
[] (auto x) { | |
}, token, | |
then( | |
[] (auto x) { |
NewerOlder