cxx/test/std
Eric Fiselier 45f63bc07e Cleanup <__functional_03>
<__functional_03> provides the C++03 definitions for std::memfun and
std::function. However the interaction between <functional> and <__functional_03>
is ugly and duplicates code needlessly. This patch cleans up how the two
headers work together.

The major changes are:

- Provide placeholders, is_bind_expression and is_placeholder in <functional>
  for both C++03 and C++11.

- Provide bad_function_call, function fwd decl,
  __maybe_derive_from_unary_function and __maybe_derive_from_binary_function
  in <functional> for both C++03 and C++11.

- Move the <__functional_03> include to the bottom of <functional>. This makes
  it easier to see how <__functional_03> interacts with <functional>

- Remove a commented out implementation of bind in C++03. It's never going
  to get implemented.

- Mark almost all std::bind tests as unsupported in C++03. std::is_placeholder
  works in C++03 and C++11. std::is_bind_expression is provided in C++03 but
  always returns false.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242870 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-22 04:14:38 +00:00
..
algorithms Fix warnings in test/std/algorithms 2015-07-18 21:53:16 +00:00
atomics Fix unused variable warnings in atomic tests 2015-07-18 21:40:37 +00:00
containers Fix warnings in unordered_map 2015-07-19 03:16:47 +00:00
depr Cleanup warnings in test/std/depr 2015-07-18 22:51:51 +00:00
diagnostics Fix warnings in array and assoc containers 2015-07-18 23:56:04 +00:00
experimental Mark new tests as unsupported before C++11 2015-07-20 19:27:47 +00:00
extensions Fix more issues exposed by -pedantic-errors in c++03 mode 2015-02-10 17:20:18 +00:00
input.output Fix up typos in a couple of tests; due to agressive short-circuiting, they never failed on clang or gcc, but MSVC whined. Patch by Andrew Parker. 2015-07-18 18:24:15 +00:00
iterators A few bits of N2994 didn't get fully implemented a long time ago. Thanks to STL@microsoft.com for the bug report 2015-04-16 21:36:54 +00:00
language.support Fix warnings in test/std/language.support 2015-07-18 21:17:16 +00:00
localization Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
numerics Remove unneeded initialisation of fenv_t and fexcept_t. 2015-03-15 18:36:31 +00:00
re Add code to honor the match_not_bol and match_not_eol regex flats. Fixes PR#22651. Thanks to Jim Porter for the report and suggested fix. 2015-03-19 17:05:59 +00:00
strings Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. 2015-07-13 20:04:56 +00:00
thread Implement LWG#2407: 'packaged_task(allocator_arg_t, const Allocator&, F&&) should neither be constrained nor explicit' 2015-06-30 14:16:49 +00:00
utilities Cleanup <__functional_03> 2015-07-22 04:14:38 +00:00
nothing_to_do.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00