forked from boostorg/preprocessor
Assume variadic macro support.
This commit is contained in:
@@ -364,8 +364,8 @@ typedef TYPELIST((int, double, incomplete<void>)) xyz;
|
||||
<div>
|
||||
There are two minor caveats with this result. First, certain types like <code>void</code>
|
||||
can't be the type of an argument, so they have to be wrapped with <code>incomplete<T></code>.
|
||||
Second, the necessary double parenthesis is annoying. If and when C++
|
||||
gets C99's variadic macros, <code>TYPELIST</code> can be redefined:
|
||||
Second, the necessary double parenthesis is annoying. With variadic macros,
|
||||
<code>TYPELIST</code> can be redefined:
|
||||
</div>
|
||||
<div class="code">
|
||||
<pre>
|
||||
|
||||
Reference in New Issue
Block a user