Commit Graph
18 Commits
Author SHA1 Message Date
Daira Hopwood 79a2068c9a Remove undefined behaviour (#117)
* Add assertions for cases where the API documents undefined behaviour.
This affects operator->, operator*, and error() on a tl::expected
instance. The performance impact is likely negligible for typical uses.
refs #113

Signed-off-by: Daira Hopwood <daira@jacaranda.org>

* Add tests for assertions.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>

* Add documentation for assertion behaviour.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>

---------

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-15 15:53:21 +00:00
Sy Brand 7465f4eabe Update tested versions 2022-11-24 19:48:10 +00:00
Sy Brand 7e842ac198 Test on many compilers (#123) 2022-11-24 19:44:29 +00:00
Sy Brand 68a5f5d701 Update README.md 2021-03-25 11:03:23 +00:00
Lesley Lai fd96e4545c Syntax highlight in README (#64) 2019-07-18 06:45:19 +01:00
David Yip bcdc78bf8e Remove internal Conan package: there is now an external one 2019-07-08 10:21:08 +01:00
Simon Brand 1eba0ac799 Update README.md 2019-05-02 09:54:12 +01:00
Simon Brand 2c9780949d Update README.md 2019-04-30 11:59:40 +01:00
Simon Brand 1eb0a2ec98 Update readme 2018-06-06 10:46:12 +01:00
Simon Brand 12334cb13b Thank Björn 2018-05-28 12:06:10 +01:00
Simon Brand 96ea701de9 Travis (#19)
* Add version wildcard

* Sanity test

* Use GCC6 instead of 5

* Test GCC 7 and 8

* Test Clang 4

* Try trusty

* Try Clang 5 and 6

* Update readme
2018-05-11 10:04:25 +01:00
Simon Brand d6cc086c8e Add acknowledgement 2017-12-05 19:56:51 +00:00
ericLemanissier 7cf765e356 fix typo in README 2017-12-04 12:32:06 +01:00
ericLemanissier b4f9e3d224 replace optional by expected in readme license 2017-11-29 13:53:45 +01:00
Simon Brand c3277f5a35 Update readme 2017-11-27 15:03:45 +00:00
Simon Brand 0c82e4c910 Update readme 2017-11-02 09:43:23 +00:00
Simon Brand f97fdcd904 Readme 2017-10-26 22:04:01 +01:00
Simon Brand 79138cd0e5 first commit 2017-10-25 19:20:17 +01:00