43#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_CALLBACK_COMMON_H
44#define LASS_GUARDIAN_OF_INCLUSION_UTIL_CALLBACK_COMMON_H
56class EmptyCallback:
public ExceptionMixin<EmptyCallback>
59 EmptyCallback(std::string msg, std::string loc): ExceptionMixin<EmptyCallback>(std::move(msg), std::move(loc)) {}
60 ~EmptyCallback() noexcept {}
68template <
typename T,
typename =
void>
69struct IsEqualityComparable:
public meta::False {};
72struct IsEqualityComparable<T, std::void_t<decltype(std::declval<const T&>() == std::declval<const T&>())>>:
public meta::True {};
76#if !LASS_HAVE_LAMBDA_OPERATOR_NOT
88 template <
typename C>
static meta::True test(
char[!C()]);
89 template <
typename C>
static meta::False test(...);
91 enum { value =
sizeof(test<T>(0)) ==
sizeof(meta::True) };
general utility, debug facilities, ...
Library for Assembled Shared Sources.