Document lack of support for auto for C++ variables (#1125)
This commit is contained in:
parent
b6c2438d7d
commit
280b82c8ac
1 changed files with 4 additions and 0 deletions
|
|
@ -336,6 +336,10 @@ int i; int j;
|
||||||
decltype(i+j) k; // syntax error
|
decltype(i+j) k; // syntax error
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
|
<p>SWIG does not support <tt>auto</tt> as a type specifier for variables, only
|
||||||
|
for specifying the return type of <a href="#CPlusPlus11_lambda_functions_and_expressions">lambdas</a>
|
||||||
|
and <a href="#CPlusPlus11_alternate_function_syntax">functions</a>.</p>
|
||||||
|
|
||||||
<H3><a name="CPlusPlus11_range_based_for_loop">7.2.7 Range-based for-loop</a></H3>
|
<H3><a name="CPlusPlus11_range_based_for_loop">7.2.7 Range-based for-loop</a></H3>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue