Clarify even further that the lambda-to-block-pointer conversion is only available in Objective-C++

llvm-svn: 152511
This commit is contained in:
Douglas Gregor 2012-03-10 22:20:11 +00:00
parent 0e20a09165
commit cffca4a014
1 changed files with 4 additions and 0 deletions

View File

@ -1078,6 +1078,10 @@ autoreleased: rather, it is given the same lifetime as a block literal
written at that point in the program, which avoids the overhead of
copying a block to the heap in the common case.</p>
<p>The conversion from a lambda to a block pointer is only available
in Objective-C++, and not in C++ with blocks, due to its use of
Objective-C memory management (autorelease).</p>
<!-- ======================================================================= -->
<h2 id="overloading-in-c">Function Overloading in C</h2>
<!-- ======================================================================= -->