Skip to content

Instantly share code, notes, and snippets.

@kobtsev
kobtsev / asio.cmake
Last active November 1, 2025 08:58
asio library bindings for CMake
# asio (https://github.com/chriskohlhoff/asio)
project(asio
VERSION 1.36.0
LANGUAGES CXX
)
# Sources
include(FetchContent)
@kobtsev
kobtsev / trait.hpp
Last active June 30, 2024 16:18
Yet another ugly way to implement CPOs
#pragma once
#include <concepts>
#include <type_traits>
#include <utility>
namespace extra
{
template <typename Tag, typename T = void>