Hi,
I developed a trait introspection library for C++14 based on Eric Niebler's
concept checking, here:
https://github.com/pfultz2/Tick
So you can build a simple `is_incrementable` trait like this:
TICK_TRAIT(is_incrementable)
{
template<class T>
auto requires(T&& x) -> TICK_VALID(
x++,
++x
);
};
Then use it like this:
static_assert(is_incrementable<T>(), "Not incrementable");
Also, you can validate the return of an expressions like this:
TICK_TRAIT(is_equality_comparable)
{
template