Commit Graph

8 Commits

Author SHA1 Message Date
Louis Dionne
5af6066e61 Make some containers final and add notes about assumptions about representation
Also, add tests to make sure that an empty pair can be EBO'd. This one is very
important because a typical use case is to create a tuple of pairs of empty
types (e.g. in hana::map), and we expect this to be empty.
2018-05-06 10:08:49 -06:00
Louis Dionne
9895803ede Bump copyright year to 2017 2017-01-07 14:14:18 -08:00
Louis Dionne
23c3edc93b [NFC] Un-Doxygenize comments in non-header files 2016-02-04 11:07:41 -05:00
Louis Dionne
c41a5cb6be Update copyright notices for 2016 2016-01-01 14:54:06 -05:00
Louis Dionne
1b64f5e6c9 Revert the two previous commits about EBO on Windows
The commits are db487b2b4 and 76a0ac16a. They were supposed to fix
unit tests failing on Windows due to a missing EBO, but both of these
commits failed to do so. Since I can't test on Windows by myself for
the time being, I'm rolling back these commits and I'll try to fix
this error later.
2015-11-11 20:24:45 -05:00
Louis Dionne
db487b2b42 [Tests] Actually workaround the missing EBO on Windows 2015-11-11 18:00:57 -05:00
Louis Dionne
76a0ac16a4 [Tests] Workaround missing EBO in Clang for Windows 2015-11-11 17:31:37 -05:00
Louis Dionne
6f2def29c0 [Tuple] Refactor and bullet-proof the implementation
- Use basic_tuple instead of closure<> for the inner storage
- Make sure the assignment operators are constexpr
- Copy the unit tests from closure<> (closure will eventually be removed anyway)

Fixes #165
2015-08-31 18:24:40 -04:00