From d0ca03c84bcad3dc42fd173b0baf3a15e9b52f9b Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 19 Sep 2026 13:47:08 +0200 Subject: feat: add conditionals --- examples/hello.sfinae | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'examples/hello.sfinae') 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; -- cgit v1.3