Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am janekolszak on github.
* I am janekolszak (https://keybase.io/janekolszak) on keybase.
* I have a public key ASD5eX34IXNaXEFNHuDRqfUXF3X3kZIaHmHaRfNR-Ntbwwo
To claim this, I am signing this object:
#include <iostream>
#include <memory>
#include <functional>
using voidFun = void(*)(std::shared_ptr<void>);
template<typename T>
void fun(std::shared_ptr<T> t)
{
std::cout << *t << std::endl;