Skip to content

Instantly share code, notes, and snippets.

View DeoEsor's full-sized avatar
😾

Valeriy Vartumyan DeoEsor

😾
View GitHub Profile
@DeoEsor
DeoEsor / decorator.cpp
Created September 13, 2023 08:55 — forked from lizhongz/decorator.cpp
C++ decorator measuring the execution time of a function
#include <functional>
#include <chrono>
#include <iostream>
template <class> struct ExeTime;
// Execution time decorator
template <class R, class... Args>
struct ExeTime<R(Args ...)> {
public:
@DeoEsor
DeoEsor / collapsible markdown.md
Created December 22, 2022 12:57 — forked from joyrexus/README.md
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")