
23 Jan
2015
23 Jan
'15
12:26 a.m.
On Thu, Jan 22, 2015 at 4:12 PM, Matt Calabrese <rivorus@gmail.com> wrote:
On Thu, Jan 22, 2015 at 4:09 PM, Matt Calabrese <rivorus@gmail.com> wrote:
For instance, you can use it to easily do:
template <class T> struct has_preincrement_operator : std::integral_constant<bool, IS_VALID_EXPR((T) a, ++a)> {};
Hmm, actually this use doesn't seem to work, though I'm not sure why... I should have tested it in the browser before posting the sample. I'm pretty sure it fails due to a compile-bug but I'm not entirely certain. -- -Matt Calabrese