Created
July 9, 2014 19:06
-
-
Save kotoji/2a670a8f50b2271789d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct tick_private_trait_base_is_incrementable : tick::ops { | |
typedef tick::refines<> type; | |
}; | |
struct tick_private_trait_is_incrementable; | |
template<class... T> | |
struct is_incrementable : tick::models<tick_private_trait_is_incrementable(T...)> {}; | |
struct tick_private_trait_is_incrementable : tick::detail::base_requires, tick::ops, tick_private_trait_base_is_incrementable::type | |
{ | |
template<class T> | |
auto requires_(T&& x) -> decltype(tick::detail::valid_expr((x++, ++x, tick::detail::void_()))); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment