Louis Dionne
2ab7ca19a2
[NFC] Update copyright notices
2022-10-20 23:18:13 -04:00
Louis Dionne
a83b844110
[tests] Fix reliance on C++17 behavior for aggregate types
...
Fixes #429
2019-02-11 16:30:20 -05:00
Louis Dionne
cddbcd6d3a
[Travis] Add tests on Clang 5.0
...
Also bump patch-level of Clang 4.0.
2018-01-25 19:46:01 -08:00
Louis Dionne
9895803ede
Bump copyright year to 2017
2017-01-07 14:14:18 -08:00
Louis Dionne
f06b35db8d
[tests] Remove includes of the master header
2016-09-18 16:16:25 -07:00
Louis Dionne
28f5a6bf74
[tests] Clean up some tests using ::Tracked
2016-09-18 12:12:55 -07: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
df7bdf5c69
[functional/apply] Behave like C++17's std::invoke
2015-09-22 10:40:23 -07:00
Louis Dionne
37dc041af5
[Functional][lazy] Use basic_tuple instead of closure<>
...
Also, modularize and refactor some unit tests for Functional utilities.
2015-09-07 16:31:23 -04:00
Louis Dionne
f373b421f9
[Headers] Minimize the #includes in headers
...
- Allow specializing models_impl with a forward declaration only
- Modularize remaining concept headers
- Include <boost/hana.hpp> in unit tests to ease the transition
- Add the core/dispatch.hpp header to reduce the number of boilerplate includes
2015-08-26 11:27:28 -04:00
Louis Dionne
8a0ddb0fa7
[Closure] Reimplement the closure to be almost standards-conforming
...
Also, use that closure to implement basically all containers.
The new closure compresses empty types.
Fixes #123
Fixes #93
Fixes #89
2015-07-26 12:42:20 +02:00
Louis Dionne
0660af6a8f
[GCC] Initial port to GCC
...
- Fix ambiguous specialization in core/datatype
- [Config] Turn #errors into #warnings
- Qualify recursive calls to `apply` to make sure the right function is selected
- Remove usages of when_valid to workaround ambiguous specializations
- Use multiline comments to remove some GCC warnings with LaTeX's double backslash
- Specialize operators::of in the boost::hana::operators namespace
- Manually perform more conversions in constexpr-context
- Workaround the lack of support for constexpr-but-non-const member functions
- Disambiguate unqualified uses of size_t with hana::size_t and ::size_t
2015-05-20 16:56:34 -04:00
lolisa
21952b9f54
comment out unused variable.
...
[ldionne: rebase and remove the -Wno-unused-parameter flag from CMake]
Closes #43
2015-04-14 16:23:51 -04:00
Louis Dionne
5ab6925364
[Test] Fix some tests that fail on Travis and remove warnings
2015-03-15 00:18:31 -04:00
Louis Dionne
47084ad4e0
[Tests] Fix failing test.seq.sequence.monad_plus_mcd
2015-03-04 17:48:53 -05:00
Louis Dionne
065b910128
Update copyright year.
2015-03-03 14:16:50 -05:00
Louis Dionne
aa6eac6c3d
[Config] Move BOOST_HANA_CONSTEXPR_LAMBDA to config.hpp
2015-02-25 10:20:12 -05:00
Louis Dionne
4e387cc2ff
[Functional] Change the implementation of arg<n> so it can perfect forward.
2015-02-23 08:09:04 -05:00
Louis Dionne
8756e81977
Add boost/hana/config.hpp and BOOST_HANA_*_CHECK macros.
2014-11-10 17:52:33 -05:00
Louis Dionne
b9472015d1
Add the overload utility to Functional
2014-11-07 20:31:26 -05:00
Louis Dionne
049046478e
Move ASSERT macros out of the details
2014-11-04 09:43:44 -05:00
Louis Dionne
57087cd249
Functional: make lockstep's syntax like demux's
2014-11-04 08:54:59 -05:00
Louis Dionne
d188e19938
Make functional utilities constexpr friendly
2014-10-28 14:38:49 -04:00
Louis Dionne
d496ec6bbc
Change the syntax of demux.
2014-10-16 19:32:09 -04:00
Louis Dionne
241671ef0e
Add perfect forwarding in some functional utilities
2014-10-05 15:14:22 -04:00
Louis Dionne
539ed83248
Fix a dangling reference bug in functional/id.
2014-09-29 11:15:00 -04:00
Louis Dionne
faef709431
Minor improvements:
...
- Test that detail::variadic::at can handle const objects
- Add perfect forwarding in functional/id
- Sandbox: experiment with a std compatible tuple
2014-08-31 10:16:03 -04:00
Louis Dionne
307d3d0ec8
Huge reorganization and refactoring.
...
- Split type class instances into separate files
- Instances provided automatically by a type class are actually MCDs
- Test each instance in a single file, not one file per method
- Refactor the operator system to fix the ADL-related bug.
2014-08-18 19:26:29 -04:00