Commit Graph
740 Commits
Author SHA1 Message Date
Kohei Takahashi a844a55846 Remove redundant noexcept specifier
to compile with gcc 4.6
2018-05-13 16:56:46 +09:00
Kohei Takahashi 37e4fab58b Added notes for CWG 496 and CWG 2094
rename macros to be more descriptive
2018-05-10 00:55:07 +09:00
Kohei Takahashi 8e25d0ef77 Enabled using compiler builtin 2018-05-09 03:04:03 +09:00
Kohei Takahashi 8a2f444761 Fixed fallback traits condition 2018-05-08 23:13:12 +09:00
Kohei Takahashi dfa3650307 Make sure that are class type 2018-05-08 13:09:46 +09:00
Kohei Takahashi b4afa1c69b It's not a trivially copyable unless all elems are 2018-05-08 00:38:10 +09:00
Kohei Takahashi cb4a4cdde7 It should be default constructible 2018-05-08 00:23:04 +09:00
Kohei Takahashi b03d1e9458 Added utility for forcing to be non trivial copyable 2018-05-07 23:17:25 +09:00
Kohei Takahashi c7ba5595fc Added is_trivially_copyable traits 2018-05-07 22:33:06 +09:00
Kohei Takahashi b978b47952 Merge upstream branch 'develop' into optimization/vector-and-tuple 2018-05-07 12:27:46 +09:00
Kohei Takahashi 68be23a0b9 Merge upstream branch 'develop' into support 2018-04-27 20:32:09 +09:00
Kohei Takahashi 6f8de8d774 Added workaround for fold expr and dependent name 2018-04-27 20:29:06 +09:00
Kohei Takahashi 5221bbbc76 Added workaround for defaulted and noexcept 2018-04-27 14:56:23 +09:00
Kohei Takahashi 0e900bba3f Specify defaulted and remove unnecessary functions from unused_type 2018-04-27 12:37:37 +09:00
Kohei Takahashi e8da43a539 Added workaround for gcc 4.6 with C array 2018-04-26 00:02:57 +09:00
Kohei Takahashi 3b8fb67b52 Update WA condition 2018-04-22 03:44:57 +09:00
Kohei Takahashi c4881f1862 Merge upstream branch 'develop' into more-ci-targets 2018-04-22 03:41:55 +09:00
Kohei Takahashi a273cd8131 Added workaround for msvc-14.x 2018-04-19 00:21:41 +09:00
Kohei Takahashi dd695c1dbd Fixed a compile error bug similar to previous vector's one 2018-04-18 22:38:09 +09:00
Kohei Takahashi e962c1abb5 Fixed vector compile error with C-style array 2018-04-18 22:31:35 +09:00
Kohei Takahashi e3b053f969 Remove detail metafunctions to simplify template 2018-03-15 20:49:38 +09:00
Kohei Takahashi 11a3f250b8 Remove unused header 2018-03-15 19:56:07 +09:00
Kohei Takahashi 9536909a3a Remove redundant argument. 2018-03-14 16:02:07 +09:00
Kohei Takahashi 47070610d0 Remove unnecessary user defined ctor
there is no reasons defining those probably.

This change allows to be vector trivially copyable iff all elements are
trivially copyable, i.e. following static assert now passes.

```cpp
static_assert(std::is_trivially_copyable<vector<double, int>>{});
```
2018-03-14 15:15:33 +09:00
Kohei Takahashi d8f608c8f1 Move is_native_fusion_sequence to detail
in order to reuse it in is_mpl_sequence
2018-03-14 14:53:30 +09:00
Kohei Takahashi 2aea153be0 Use fold expression to improbe compile speed 2018-03-14 14:53:07 +09:00
Kohei Takahashi 9de3272174 Added workaround for GCC 4.4/c++0x
Teh call of ctor is ambiguous since gcc 4.4 allows binding rvalue to lvalue reference.
2018-03-06 00:40:41 +09:00
Louis Dionne 82f677c169 Allow incomplete types in fusion::tag_of and fusion::is_native_fusion_sequence 2018-03-02 02:03:43 -08:00
Nikita Kniazev 38818fbe3d Add limits precheck 2018-02-20 22:44:34 +03:00
Nikita Kniazev 39fb05e40f vector: Fix for compilers not compatible with CWG defect 945
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#945
2017-12-23 18:17:04 +03:00
Nikita Kniazev 099333b61d map: Switch to SFINAE in template parameters
Fixes #163.

Since C++11 we can do SFINAE in template parameters. VS2017 15.5 doesn't like
the SFINAE on argument here, but do not ask me why, because I have no idea.
2017-12-14 00:05:28 +03:00
Kohei Takahashi b12c6b6af6 Regenerate preprocessed files. 2017-11-23 22:59:02 +09:00
Kohei Takahashi 4eda545405 Fixed a regression with msvc 10/11/12 defect 2017-11-23 22:48:11 +09:00
Kohei Takahashi 0e0de6c4f1 Regenerate preprocessed files. 2017-10-15 07:10:25 +09:00
Kohei Takahashi 984fcfd276 Delete needless overload. 2017-10-14 03:18:47 +09:00
Kohei Takahashi 62f5ccac53 Fixed compile error on copy construction. 2017-10-14 03:16:44 +09:00
Kohei Takahashi cf33f3db4e Added copy assign to deque(03).
move ctor will delete defaulted copy assign.
2017-10-14 03:16:00 +09:00
Kohei Takahashi dfe08dec2c Fixed incorrect overload resolution.
Those functions should not be chosen for copying/moving.
2017-10-14 02:34:44 +09:00
Kohei Takahashi 42a01fc3f4 Fixed compile error with std::array
libc++ enables std::array in c++98 mode, but <type_traits> doesn't.
2017-10-13 20:04:11 +09:00
Kohei Takahashi e606ceeff0 Improve vector value_at performance. 2017-10-07 14:18:29 +09:00
Kohei Takahashi 24d1c7fd1a Reduce type deduction which is already known. 2017-10-04 01:43:45 +09:00
Kohei Takahashi e5d073d786 Use compiler generated ctor. 2017-10-04 01:30:27 +09:00
Kohei Takahashi 6a9b7f314d Remove unnecessary base check.
fusion::tuple doesn't inherit from fusion::vector now.
2017-10-04 01:13:26 +09:00
Kohei Takahashi 0471a65ca2 Change fusion::tuple its base class to vector_data.
This change aims to improve compile time performance for both of vector and tuple.
2017-10-03 22:25:03 +09:00
Gregor Jasny 9cb23af898 Remove circular preprocessor include 2017-09-02 16:09:12 +02:00
Brian Kuhl 7c15df79f2 isspace(c) is not a macro in Dinkum clib for VxWorks, must be in std namespace 2017-08-10 12:19:32 -04:00
Kohei Takahashi 36eac2e77c Added missing include file. 2017-06-18 23:12:50 +09:00
Kohei Takahashi 451e21adb3 Update workarounds for msvc 14.1 2017-04-30 23:26:24 +09:00
Kohei Takahashi f1a619428a Remove unintended file. 2016-11-20 16:41:23 +09:00
Kohei Takahashi c630611626 Fix returing temporary variable warning on MSVC. 2016-11-01 01:54:10 +09:00