Commit Graph

15 Commits

Author SHA1 Message Date
Louis Dionne
a525aab0f4 Add tests to make sure that hana::accessors does not decay arrays to pointers
Also, add tests to validate that `hana::tuple` containing an array can't be
constructed from an array, per the standard. Related to #365.
2018-01-01 14:38:18 -08:00
Louis Dionne
bb0254dcfb [integral_constant] Handle digit separators in the _c user-defined literal
Closes #362
2017-07-10 10:28:09 -04:00
Louis Dionne
b991b9fc01 [pair] Fix invalid result of ebo_get for nested pairs
Closes #331
2017-06-06 09:50:08 -07:00
Louis Dionne
ae2e9664ae [bugfix] Fix incorrect result for first and second in nested pair cases 2017-04-08 14:05:57 -07:00
Louis Dionne
9895803ede Bump copyright year to 2017 2017-01-07 14:14:18 -08:00
Louis Dionne
9fe9d2f0d7 Make sure concepts inherit from an integral_constant
Fixes #269
2016-11-17 08:41:27 +01:00
Louis Dionne
28f5a6bf74 [tests] Clean up some tests using ::Tracked 2016-09-18 12:12:55 -07:00
Louis Dionne
fe8d0a6957 [detail] Rename detail::swap to workaround ADL issue
Fixes #297
2016-07-29 09:10:14 -07:00
Louis Dionne
8f5e660e51 Add a default constructor to reverse_partial
Fixes #260
Closes #261
2016-06-14 07:43:37 -07:00
Louis Dionne
3ccd7b5fd9 [types] Accept non-metafunctions returning references to types in transform
Fixes #266
2016-04-06 18:42:21 -04:00
Louis Dionne
b440aa8758 [issues/github_234] Use an explicit signed char
This fixes the test on platforms where char is unsigned, where the
original test couldn't (and shouldn't) pass, because `char -> int`
is not an embedding (signed -> unsigned).
2016-03-07 16:46:08 -05:00
Sergey Nizovtsev
5d07902329 Correctly forward std::extent value_type to hana::traits::extent
Fixes #252
2016-02-19 22:13:26 +03:00
Louis Dionne
c0520b68b9 [test] Add unit test to check for Github issue #234
The commit that actually fixes this issue is 7f7c7a19, which adds an
embedding from `char` to any integral type with the proper signedness.

Closes #234
2016-02-15 14:54:00 -05:00
Louis Dionne
23c3edc93b [NFC] Un-Doxygenize comments in non-header files 2016-02-04 11:07:41 -05:00
Louis Dionne
b952e0dfee [tests] Rename test/bugs directory to test/issues 2016-01-26 13:21:56 -05:00