[cfe-commits] [libcxx] r115461 - /libcxx/trunk/include/__functional_base_03
Howard Hinnant
hhinnant at apple.com
Sun Oct 3 09:55:33 PDT 2010
On Oct 3, 2010, at 12:53 PM, Douglas Gregor wrote:
>
> On Oct 3, 2010, at 6:59 AM, Howard Hinnant wrote:
>
>> Author: hhinnant
>> Date: Sun Oct 3 08:59:56 2010
>> New Revision: 115461
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=115461&view=rev
>> Log:
>> Tweak to make clang blocks work with std::functional (very fragile)
>
> Won't we need _Block_copy calls when putting a block into a std::function, _Block_dispose when destroying that std::function, etc?
<shrug> I don't know. If so then I would think it unsafe to instantiate any template with a block (not just std::function). Such behavior doesn't follow C++ generic syntax/semantics.
-Howard
More information about the cfe-commits
mailing list