We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.
You must be logged in to block users.
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Projects index: https://eczbek.github.io
Gists: https://gist.github.com/Eczbek
Discord: Eczbek#7790
Eczbek#7790
C++ utility library
C++ 69 4
preprocessor date and time parsing
C 6
A text-based snake game
C 5 1
golfed
HTML 6
#include<concepts>
#include<utility>
struct as{template<class T>operator T(){std::unreachable();};template<class T>struct x{T&&x;template<class U>[[nodiscard]]constexpr decltype(static_cast<U>((T&&)x))operator->*(U(as::*)())noexcept(noexcept(static_cast<U>((T&&)x))){return static_cast<U>((T&&)x);}};};constexpr auto operator->*(auto&&x,std::same_as<as>auto)noexcept{return as::x<decltype(x)>((decltype(x))x);}
#define as ->*::as()->*&::as::operator
// Evaluates to whether the arguments' types are compatible.
// Bounded array types are considered incompatible with unbounded array types.
#define meta_is_same_type(X, ...) _Generic(typeof(X),typeof(__VA_ARGS__):meta_is_unbounded_array_type(X)==meta_is_unbounded_array_type(__VA_ARGS__),default:0)
// Evaluates to whether the arguments' types are compatible, ignoring qualifiers.
There was an error while loading. Please reload this page.