Louis Dionne
9fce3542c5
Silence -Wshadow warnings in Hana's headers
...
Warnings still trigger in the tests and examples, but not in the code of the
library itself.
Fixes #298
2016-12-04 16:49:35 -08:00
Louis Dionne
b87ee22b26
[Travis] Change user.email for Travis bot to avoid bloating GitHub contributions
2016-12-04 14:24:33 -08:00
Louis Dionne
1eebdb62cb
[string] Document the default constructor
2016-12-03 20:53:04 -08:00
Louis Dionne
b94551b1b8
[pair] Add better tests for copy/move ctor from pair with convertible members
2016-12-03 17:59:06 -08:00
Louis Dionne
874f256298
[detail] Remove the dependent_on helper
2016-12-03 16:53:13 -08:00
Johel Ernesto Guerrero Peña
3b51c8b021
[doc][NFC] Documentation fixes
2016-12-01 12:34:55 -08:00
Louis Dionne
7a3e0480d4
[string] Add a model of the Monoid concept
...
Fixes #117
2016-11-17 13:19:58 +01:00
Louis Dionne
9fe9d2f0d7
Make sure concepts inherit from an integral_constant
...
Fixes #269
2016-11-17 08:41:27 +01:00
Louis Dionne
b87213e15f
[concept.hpp] Add missing concept Hashable to the master include
2016-11-17 08:41:00 +01:00
Louis Dionne
0bf9130fbb
[Travis] Set the Git user.email to unbreak documentation and benchmark pushes
...
Also change the GitHub access token, which was leaked while debugging this
failure.
Fixes #309
2016-11-17 08:17:13 +01:00
Louis Dionne
9657c09f68
[map] Properly constrain the variadic constructor, and remove unused ctors
2016-11-16 05:05:19 +01:00
Louis Dionne
bc76a1598b
[doc] Move the cheatsheet to its own section
...
This way, it appears at the top level of the left-nav
Fixes #308
2016-11-16 00:23:46 +01:00
Louis Dionne
e3e8736aab
[map] Allow declaring maps using map<Pairs...>, and provide a variadic constructor
2016-11-14 18:56:22 -08:00
Louis Dionne
90ae512da6
[string] Add a c_str() method
2016-11-08 06:57:58 -08:00
Louis Dionne
9f19b9576f
[types] Use the __type_pack_element intrinsic to optimize type lookup
2016-11-04 17:13:59 -07:00
Louis Dionne
a897cb9c3f
[type] Fix documentation for metafunction
& friends, which do not accept raw objects
...
This should have been fixed in b1696fe
, when we removed support for this.
2016-10-23 14:40:56 -07:00
Louis Dionne
477d15e7e3
Disable the type_name test for Clang < 3.6
2016-10-23 11:59:29 -07:00
Louis Dionne
c97f86e17b
[tests] Remove occurences of using namespace boost::hana
2016-10-23 11:59:28 -07:00
Jason Rice
ea571a11fc
Fix Github Issue 304
...
- Apparently std::array operator[] returns an lvalue reference when unpacking
a temporary std::array. Using std::get<n> returns the
proper reference type in the case of rvalues.
- Adds test by ldionne
2016-10-23 11:59:02 -07:00
Louis Dionne
b7e594e507
[Travis] Test against latest Boost versions
2016-10-16 09:21:24 -07:00
Louis Dionne
04705f0041
[Travis] Make sure we do not conflict with the Hana headers shipped with Boost
2016-10-16 09:19:44 -07:00
Louis Dionne
772df8e7a3
[CMake] Rewrite the TestHeaders module
2016-10-10 20:52:54 -07:00
Louis Dionne
8f8794fd28
[CMake] Add the hana
interface library
...
Also, simplify the example/test setup by removing the tests.quick target
2016-10-10 20:52:54 -07:00
Louis Dionne
429ec2be78
[CMake] Fix the condition for enabling the experimental type_name test
2016-10-10 20:51:42 -07:00
Louis Dionne
2674a6a6ec
[Travis] Add support for Clang 3.9
2016-10-09 15:30:06 -07:00
Louis Dionne
d133fa9d80
[Travis] Add a Travis job for building without exceptions on OS X
2016-10-09 14:47:59 -07:00
Louis Dionne
07d427a55f
[CMake] Do not remove the experimental type_name test on AppleClang
2016-10-09 14:26:08 -07:00
Louis Dionne
8fda2f482e
[tests] Take by && instead of value when creating a ::seq
...
Closes #302 , although I suspect #302 is caused by a codegen bug in Clang.
2016-10-08 15:55:13 -07:00
Louis Dionne
16c8dd84c6
[tests] Allow overriding TRACKED_PRINT_STUFF from an including file
2016-10-08 14:40:14 -07:00
Louis Dionne
3930c150e3
[tests] Remove support for subparts in the Sequence laws
...
The subparts were not used anywhere anymore.
2016-10-08 14:22:02 -07:00
Louis Dionne
6b99094b17
[tests] Inherit from integer
instead of using alias to improve error messages
2016-10-08 14:18:15 -07:00
Louis Dionne
1d078dedac
[Travis] Use newer OS X image for the CHECK_FORMATTING job
...
This fixes a failing Travis build due to an interaction between rubygems and
SSL certificates.
2016-10-08 13:31:15 -07:00
Rene Rivera
d5d0741adc
Add, and update, documentation build targets.
2016-10-07 23:07:34 -05:00
Louis Dionne
f537928be1
Fix experimental::type_name, which is only supported on Clang
2016-10-03 20:15:33 -07:00
Louis Dionne
0ef96e14d6
[experimental] Implement compile-time type names
2016-10-02 18:51:03 -07:00
Louis Dionne
031b145a4d
Fix mismatching declarations of _c UDL
2016-09-28 12:28:34 -07:00
Louis Dionne
96d0fe11a7
Remove some usages of variable templates
2016-09-28 10:35:58 -07:00
Louis Dionne
e452c98015
[doc] Reformulate the laws for Comparable to avoid confusion
2016-09-28 08:12:52 -07:00
Louis Dionne
32080fefa0
[NFC] Silence Doxxygen warning
2016-09-28 08:09:54 -07:00
Louis Dionne
14bb149755
Improve error message for non-Comparable types
2016-09-27 08:53:07 -07:00
Louis Dionne
f06b35db8d
[tests] Remove includes of the master header
2016-09-18 16:16:25 -07:00
Louis Dionne
83f3307ba5
[tests] Clean up messy includes
2016-09-18 13:49:35 -07:00
Louis Dionne
28f5a6bf74
[tests] Clean up some tests using ::Tracked
2016-09-18 12:12:55 -07:00
Louis Dionne
36eb9a0aaf
[print] Improve compiler error when called on a non-Printable
2016-09-12 19:36:41 -07:00
Louis Dionne
6158a36985
[decltype_] Fix typo
2016-09-12 19:27:56 -07:00
David Mugnai
492a2f8178
minor minor minor type
...
spotted while reading, sorry for the noise
[ldionne: closes #300 ]
2016-09-07 18:47:07 -07:00
Louis Dionne
814a704d7f
[CMake] Simplify the unit test CMakeLists
2016-08-30 21:54:12 -07:00
Louis Dionne
474484eed0
[tests] Split Foldable MCD tests
2016-08-30 21:46:35 -07:00
Louis Dionne
497604d4db
[tests] Split unit tests for std::array
2016-08-30 21:28:49 -07:00
Louis Dionne
57d0882d2e
[tests] Split unit tests for mpl::list and mpl::vector
2016-08-30 21:18:28 -07:00