Commit Graph

613 Commits

Author SHA1 Message Date
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
Peter Dimov
19f9d0c5b4 Fix unused parameter error 2021-09-16 19:43:32 +03:00
Peter Dimov
d17f7d7fe6 Fix unused variable warning 2021-09-16 19:32:22 +03:00
Peter Dimov
36843a4e2d Fix unused variable warnings 2021-09-16 19:30:28 +03:00
Peter Dimov
a6c988181e Include result.hpp in <boost/system.hpp> 2021-09-16 19:25:26 +03:00
Peter Dimov
10572b7a59 Trim includes in system_error.hpp 2021-09-16 19:21:27 +03:00
Peter Dimov
fe3d0e6c14 Update all references to <system_error> to refer to Boost.System 2021-09-16 19:16:30 +03:00
Peter Dimov
ae77563039 Define result in boost::system instead of in boost::result 2021-09-16 18:56:35 +03:00
Peter Dimov
fd852c675e Add <boost/system/result.hpp> 2021-09-16 18:47:05 +03:00
Peter Dimov
6156076dab Specify assign in terms of construction and assignment 2021-09-16 18:13:55 +03:00
Peter Dimov
984f8f1a92 Reorder constructor overloads 2021-09-16 18:04:27 +03:00
Peter Dimov
b507b2294e Unbreak the loc == 0 case, even though the specification disallows it 2021-09-16 03:12:20 +03:00
Peter Dimov
39ad22d660 Update reference 2021-09-16 03:07:32 +03:00
Peter Dimov
3b70265ced Rearrange error_code::failed to improve codegen 2021-09-15 16:42:47 +03:00
Peter Dimov
a65b91b3fb Merge branch 'develop' into feature/source-location 2021-09-15 16:06:55 +03:00
Peter Dimov
bed0d59d22 Disable failing tests under g++ 7 -std=c++17 2021-09-15 15:23:52 +03:00
Peter Dimov
5e642b1d43 Remove error_condition::failed_ in order to prioritise construction efficiency over failed() efficiency (latter is rare for conditions) 2021-09-15 14:54:26 +03:00
Peter Dimov
b35b47d8c2 Reformat what() message slightly 2021-09-15 13:42:54 +03:00
Peter Dimov
f21035f8af Move location to the end of what() 2021-09-15 07:58:24 +03:00
Peter Dimov
cd98f4edd7 Update system_error to incorporate the source location in what() 2021-09-15 07:42:57 +03:00
Peter Dimov
a9b64a888a Add support for source_location to error_code 2021-09-15 07:03:18 +03:00
Peter Dimov
bb4b500cfc Update Windows error mapping to match msvc-14.2 <system_error> 2021-09-08 00:48:55 +03:00
Peter Dimov
d44dab91dc Merge pull request #62 from rohitk5252/patch-2
Update index.html
2021-09-08 00:24:46 +03:00
Peter Dimov
2b6498ad80 Merge pull request #63 from rohitk5252/patch-3
Update system.adoc
2021-09-08 00:24:30 +03:00
Peter Dimov
22072bfbc9 Merge pull request #64 from rohitk5252/patch-5
Update Jamfile.v2
2021-09-08 00:24:08 +03:00
Peter Dimov
65f644d5de Switch ubuntu-16.04 jobs to ubuntu-18.04 2021-09-07 21:57:40 +03:00
Peter Dimov
f967081d7e Merge pull request #69 from marc-groundctl/map-broken-pipe
Map ERROR_BROKEN_PIPE to errc_t::broken_pipe
2021-09-07 21:34:22 +03:00
Marc Aldorasi
19e9f08666 Map ERROR_BROKEN_PIPE to errc_t::broken_pipe 2021-09-07 12:02:02 -04:00
Peter Dimov
b41139b28e Update documentation boost-1.77.0.beta1 boost-1.77.0 2021-06-16 03:06:26 +03:00
Peter Dimov
39a19f3c90 Add constexpr to op== against error code enums 2021-06-16 03:06:11 +03:00
Peter Dimov
b4dd5e98c9 Update appveyor.yml 2021-06-15 20:53:48 +03:00