Nick Kledzik
|
e06f0c4111
more Apple build system tweaks
|
há 14 anos atrás |
Nick Kledzik
|
2bdb250fe8
libcpp-23.1
|
há 14 anos atrás |
Nick Kledzik
|
b7842d1bad
libcpp-23
|
há 14 anos atrás |
Nick Kledzik
|
8feadca3fa
support another Apple build environment
|
há 14 anos atrás |
Nick Kledzik
|
1122fec973
on Darwin re-export C++0x type infos
|
há 14 anos atrás |
Howard Hinnant
|
20542c0b94
http://llvm.org/bugs/show_bug.cgi?id=9399 fixed by Ryuta Suzuki
|
há 14 anos atrás |
Howard Hinnant
|
ef54251a84
Fix const correctness bug in bind involving reference_wrapper found by Jonathan Sauer
|
há 14 anos atrás |
Howard Hinnant
|
e003ce4899
__invokable and __invoke_of now check for incomplete types and issue a compile-time diagnostic if they are used with incomplete types for anything except a return type. Note that both arguments *and* parameters are checked for completeness.
|
há 14 anos atrás |
Howard Hinnant
|
bd89e4b0dd
This is a simplified (and superior) implementation of __invoke, __invokable and __invoke_of. It is superior in that __invoke now handles reference qualified member functions whereas the previous implementation did not. And it simply has less infrastructure in its implementation. I'm still learning how to program in C++11 (and probably will be for a long time). This change does not impact the behavior we're seeing in http://llvm.org/bugs/show_bug.cgi?id=9975
|
há 14 anos atrás |
Howard Hinnant
|
0148a838d0
Simplied bind using __invoke. In the process, found and fixed a couple of bugs. C++11 only.
|
há 14 anos atrás |
Howard Hinnant
|
57cff290a4
I had a giant misunderstanding of what 'synchronizes with' meant in [futures.async]/p5. This invalidated the current design of async in <future>. This is a new design, based on my new understanding, which has been confirmed on the lwg mailing list. The summary is that ~future() (and ~shared_future()) will block when they are created from within async, and the thread hasn't finished yet. As part of this work I created two new type traits: __invokable<F, Args...>::value and __invoke_of<F, Args...>::type. These are what result_of<F(Args...)> wanted to be when it grew up, but never will be. __invoke_of is carefully crafted so that it can serve as its own enable_if (type doesn't exist if the signature isn't invokable). All of this work is C++11 only.
|
há 14 anos atrás |
Howard Hinnant
|
3dd965bdf9
This commit was accidental. Reverting.
|
há 14 anos atrás |
Howard Hinnant
|
932209b344
A bunch of future tests got invalidated with the latest updates to thread. Fixed the tests.
|
há 14 anos atrás |
Howard Hinnant
|
fead2e2de9
Fix ambiguity in operator== of scoped_allocator_adaptor.
|
há 14 anos atrás |
Howard Hinnant
|
6b9826b2dc
Fixed bug in recently introduced bind move constructor
|
há 14 anos atrás |
Howard Hinnant
|
6cbf9f9b25
Fix and beef up test bug for move_if_noexcept
|
há 14 anos atrás |
Howard Hinnant
|
97ecd64913
Clean up a bunch of warnings in the tests, 3 of which actually turned out to be test bugs.
|
há 14 anos atrás |
Howard Hinnant
|
ad935d583d
Brought call_once variadic call up to current spec, which allows move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters.
|
há 14 anos atrás |
Howard Hinnant
|
656bdc3667
Brought thread variadic constructor up to current spec, which allows move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters.
|
há 14 anos atrás |
Howard Hinnant
|
ed22f562e5
Supply missing std::qualifier to call.
|
há 14 anos atrás |
Howard Hinnant
|
941138f8c9
Spit 5th bullet __invoke into function pointers and everything else because result_of doesn't deal with function pointers.
|
há 14 anos atrás |
Howard Hinnant
|
496934a803
Supply missing move ctor in __bind_r, though this one will eventually be defaulted
|
há 14 anos atrás |
Howard Hinnant
|
37c53b6221
Redesign of result_of to handle reference-qualified member functions
|
há 14 anos atrás |
Howard Hinnant
|
5ec7f5a518
Fix type-o found by Justin Hibbits
|
há 14 anos atrás |
Howard Hinnant
|
e06b9965ad
Fix type-o found by Justin Hibbits
|
há 14 anos atrás |
Howard Hinnant
|
f6cc833ae7
Warning suppression in test.
|
há 14 anos atrás |
Howard Hinnant
|
783b810cae
Warning suppression in test.
|
há 14 anos atrás |
Howard Hinnant
|
a5a0ba86c8
Warning suppression in test.
|
há 14 anos atrás |
Howard Hinnant
|
e80c36e27b
Correction to hexfloat hack.
|
há 14 anos atrás |
Howard Hinnant
|
d515df2a50
Fix test bug.
|
há 14 anos atrás |