I hereby claim:
- I am willwray on github.
- I am willwray (https://keybase.io/willwray) on keybase.
- I have a public key ASBq_NL1sCkYlUS-hhiwCEi4Xj0Lg_bDKkIm3qafP4UPFAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#include <iostream> | |
#include <string_view> | |
// typesig_s<T>() size of full pretty print output with template type arg T | |
template <typename> | |
constexpr auto typesig_s() | |
{ | |
return sizeof(__FUNCSIG__); | |
} |
$40 Windows Pro (PCWorld offer till end of June) https://www.pcworld.com/article/3562330/exclusive-deal-get-windows-10-pro-for-39-99-thats-80-off-retail.html $190 ASUS ROG STRIX B450-F https://www.memoryexpress.com/Products/MX72926?gclid=EAIaIQobChMIg9H025mO6gIVF5SzCh1G4AvIEAYYASABEgIjSvD_BwE $155 AMD Ryzen 3 3100 Quad-Core https://www.newegg.ca/amd-ryzen-3-3100-ryzen-3-3rd-gen/p/N82E16819113649?item=N82E16819113649
$385
// https://godbolt.org/z/cdjrj4 | |
#include <compare> | |
#include <concepts> | |
// same_ish<T> utility concept to match a forwarding reference argument <T>(T&& a) | |
template <typename T, typename U> concept same_ish = std::same_as<std::remove_cvref_t<T>,U>; | |
template <typename A> concept zero_size_array = sizeof(A) == 0 && ! std::is_class_v<A>; | |
// carray concept designed to match zero-size arrays as well as bounded C-arrays |
/* | |
SPDX-FileCopyrightText: 2023 The Lemuriad <opensource@lemurianlabs.com> | |
SPDX-License-Identifier: BSL-1.0 | |
Repo: https://github.com/Lemuriad/tupl | |
tupl is a C++20 type implemented as a rule-of-zero aggregate struct. | |
Tested on GCC, Clang and recent MSVC. | |
tupl_amalgam.hpp is a single header amalgamated from tupl #include's |