Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libcxx] Move tuple_size and tuple_element overloads for pair and array out ↵ | Eric Fiselier | 2015-03-17 | 1 | -27/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of !defined(_LIBCPP_HAS_NO_VARIADICS) block. Summary: There is no reason to guard `tuple_size`, `tuple_element` and `get<I>(...)` for pair and array inside of `<__tuple>` so that they are only available when we have variadic templates. This requires there be redundant declarations and definitions. It also makes it easy to get things wrong. For example the following code should compile (and does in c++11). ``` #define _LIBCPP_HAS_NO_VARIADICS #include <array> int main() { static_assert((std::tuple_size<std::array<int, 10> volatile>::value == 10), ""); } ``` This patch lifts the non-variadic parts of `tuple_size`, `tuple_types`, and `get<I>(...)` to the top of `<__tuple>` where they don't require variadic templates. This patch also removes `<__tuple_03>` because there is no longer a need for it. Reviewers: danalbert, K-ballo, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7774 llvm-svn: 232492 | ||||
* | Nico Rieck: this patch series fixes visibility issues on Windows as ↵ | Howard Hinnant | 2013-08-12 | 1 | -2/+2 |
| | | | | | | explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. llvm-svn: 188192 | ||||
* | No functionality change at this time. I've split _LIBCPP_VISIBLE up into ↵ | Howard Hinnant | 2013-03-06 | 1 | -2/+2 |
| | | | | | | two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. llvm-svn: 176593 | ||||
* | Windows support by Ruben Van Boxem. | Howard Hinnant | 2011-10-17 | 1 | -0/+2 |
| | | | | llvm-svn: 142235 | ||||
* | license change | Howard Hinnant | 2010-11-16 | 1 | -2/+2 |
| | | | | llvm-svn: 119395 | ||||
* | visibility-decoration. | Howard Hinnant | 2010-09-21 | 1 | -2/+2 |
| | | | | llvm-svn: 114470 | ||||
* | Fixing whitespace problems | Howard Hinnant | 2010-08-22 | 1 | -1/+1 |
| | | | | llvm-svn: 111750 | ||||
* | Wiped out some non-ascii characters that snuck into the copyright. | Howard Hinnant | 2010-05-11 | 1 | -1/+1 |
| | | | | llvm-svn: 103516 | ||||
* | libcxx initial import | Howard Hinnant | 2010-05-11 | 1 | -0/+25 |
llvm-svn: 103490 |