diff options
Diffstat (limited to 'examples/hello.sfinae')
| -rw-r--r-- | examples/hello.sfinae | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/hello.sfinae b/examples/hello.sfinae index 0be95fa..39f3a62 100644 --- a/examples/hello.sfinae +++ b/examples/hello.sfinae @@ -1,2 +1,8 @@ // prints 5 -::emit<::decltype(::difference<'F', 'A'>)>::commit; +::emit< + ::conditional_t< + ::true_type::value, + ::decltype(::difference<'F', 'A'>), + ::void + > +>::commit; |
