Commit Graph

693 Commits

Author SHA1 Message Date
Peter Dimov
0b22dc595f Merge branch 'develop' into feature/std-category-2 2021-09-21 15:57:56 +03:00
Peter Dimov
aab58b0d5b Add std_interop_test10 2021-09-21 15:57:39 +03:00
Peter Dimov
ad66ea43a3 Revert addition of get_generic_std_category, get_system_std_category (they need this); do not use std::system_category on Cygwin 2021-09-21 15:45:00 +03:00
Peter Dimov
811564f186 Disable failing comparisons in std_interop_test6; stdlibs are at fault 2021-09-21 15:11:19 +03:00
Peter Dimov
a7e4879e55 Fix message comparisons in std_interop_test 2021-09-21 15:06:28 +03:00
Peter Dimov
9b11d864be Add helper functions get_generic_std_category, get_system_std_category 2021-09-21 15:01:44 +03:00
Peter Dimov
cc6a61b6c5 Convert system_category to std::system_category 2021-09-21 05:34:05 +03:00
Peter Dimov
9151633c95 Merge branch 'develop' into feature/std-category 2021-09-20 17:41:47 +03:00
Peter Dimov
5e0db22075 Include errc.hpp in system_error.hpp 2021-09-20 17:41:34 +03:00
Peter Dimov
60a20eeeb9 Retain old generic_category conversion behavior on g++ 4.8/4.9 2021-09-19 18:44:45 +03:00
Peter Dimov
1c8128e4cb Merge branch 'develop' into feature/std-category 2021-09-19 18:12:59 +03:00
Peter Dimov
1879ba6d35 Minor test update 2021-09-19 18:12:46 +03:00
Peter Dimov
b1dec88674 Convert generic_category to std::generic_category 2021-09-19 17:08:46 +03:00
Peter Dimov
5fd2535d9f Excise generic_category() references from error_condition 2021-09-19 16:04:16 +03:00
Peter Dimov
b39f239b3d Update documentation 2021-09-19 15:53:13 +03:00
Peter Dimov
abb13e707d Minor test fixes 2021-09-19 15:46:03 +03:00
Peter Dimov
bf34091cfe Add error_code_test2 2021-09-19 15:41:20 +03:00
Peter Dimov
e3f198e52c Add error_condition::to_string 2021-09-19 15:37:49 +03:00
Peter Dimov
05581aba03 Add error_condition_test3 2021-09-19 15:26:19 +03:00
Peter Dimov
47137ad116 Change predefined error_category identifiers to be contiguous for better codegen 2021-09-19 15:04:51 +03:00
Peter Dimov
c02cd2b004 Add private error_code::equals, use it in error_category::equivalent 2021-09-19 05:24:08 +03:00
Peter Dimov
c8c5ad1ce5 Rework error_condition::op== to not require the generic_category() instance 2021-09-19 04:49:35 +03:00
Peter Dimov
361834e49c Minor documentation corrections 2021-09-18 16:57:21 +03:00
Peter Dimov
360effcf1d Remove static/shared tests, System is header-only 2021-09-18 02:23:21 +03:00
Peter Dimov
aaa893b5d6 Add mp11 to cmake_subdir_test/CMakeLists.txt 2021-09-18 00:08:30 +03:00
Peter Dimov
ff0bd3294f Add back predef, winapi needs it 2021-09-17 23:54:33 +03:00
Peter Dimov
aedadc27ce Update test/cmake_subdir_test/CMakeLists.txt 2021-09-17 21:31:13 +03:00
Peter Dimov
aad1212cfd Update tests/CMakeLists.txt 2021-09-17 21:15:13 +03:00
Peter Dimov
c15c2eeb74 Update dependencies in CMakeLists.txt 2021-09-17 21:10:53 +03:00
Peter Dimov
0ea47dd886 Add CMake jobs to ci.yml 2021-09-17 21:00:18 +03:00
Peter Dimov
08c12e8ad5 Document result<void, E> 2021-09-17 20:16:01 +03:00
Peter Dimov
7d3cfdd09a Update test/result_value_construct 2021-09-17 19:54:53 +03:00
Peter Dimov
15f94537a6 Update test/result_value_access 2021-09-17 19:53:11 +03:00
Peter Dimov
c0f38e2f3e Update test/result_swap 2021-09-17 19:46:56 +03:00
Peter Dimov
ac28a8cec9 Update test/result_move_assign 2021-09-17 19:44:58 +03:00
Peter Dimov
4169ef3ce6 Update test/result_error_construct 2021-09-17 19:36:58 +03:00
Peter Dimov
ce49a7d1be Update test/result_move_construct 2021-09-17 19:35:20 +03:00
Peter Dimov
1a4eb29719 Update test/result_error_access 2021-09-17 19:35:05 +03:00
Peter Dimov
465f6c57da Update test/result_eq 2021-09-17 19:34:44 +03:00
Peter Dimov
cb8db34d7b Update test/result_copy_assign 2021-09-17 19:34:26 +03:00
Peter Dimov
2b6a708070 Update test/result_copy_construct 2021-09-17 19:25:20 +03:00
Peter Dimov
50f84f16dc Add result<void, E> specialization 2021-09-17 19:22:15 +03:00
Peter Dimov
fd21395802 Minor indentation fixes 2021-09-17 18:50:30 +03:00
Peter Dimov
cebb011a58 Update indentation in reference 2021-09-17 18:43:30 +03:00
Peter Dimov
3f67d3def5 Rename throw_exception_from_error_code to throw_exception_from_error 2021-09-17 18:33:04 +03:00
Peter Dimov
f2b3ae7e2b Document throw_exception_from_error_code 2021-09-17 18:28:53 +03:00
Peter Dimov
48e56b9874 Update revision history 2021-09-17 18:19:24 +03:00
Peter Dimov
967b7cbc98 Add result to reference 2021-09-17 18:16:54 +03:00
Peter Dimov
c8492a705d Use unsafe_get instead of *get_if 2021-09-17 15:47:35 +03:00
Peter Dimov
a3187439e3 Disable warning in after_main_test 2021-09-16 19:49:17 +03:00