Peter Dimov
|
5034f11a3a
|
Add usage examples
boost-1.78.0.beta1
|
2021-11-02 03:12:26 +02:00 |
|
Peter Dimov
|
f78b036665
|
Update #if condition
|
2021-10-29 21:13:10 +03:00 |
|
Ed Catmur
|
9b0d735040
|
Add __attribute__((__format__)) to snprintf
This attribute will check format string bugs and is required for clean compile if -Wformat-nonliteral is enabled.
|
2021-10-29 11:59:03 +01:00 |
|
Peter Dimov
|
bfebaf53d7
|
Add static_assert to cmake_subdir_test
|
2021-10-28 23:48:03 +03:00 |
|
Peter Dimov
|
8338e80295
|
Enable syntax hightlighting
|
2021-10-28 23:17:20 +03:00 |
|
Peter Dimov
|
2b23aaab16
|
Add msvc-14.3 to ci.yml
|
2021-10-28 23:16:53 +03:00 |
|
Peter Dimov
|
7933300b6f
|
Disable test on g++ 4.x because no std::io_errc
|
2021-10-11 03:30:50 +03:00 |
|
Peter Dimov
|
4ec1e54099
|
Enable error_code construction from enums specializing std::is_error_code_enum. Fixes #70.
|
2021-10-11 02:02:22 +03:00 |
|
Peter Dimov
|
5217e58a7d
|
Enable implicit construction for aggregates using {{ ... }}
|
2021-10-02 22:07:05 +03:00 |
|
Peter Dimov
|
ce37e23491
|
Protect against dangling references in op* and value()
|
2021-10-02 19:16:04 +03:00 |
|
Peter Dimov
|
420a262733
|
Fix warnings_test.cpp
|
2021-10-02 17:25:31 +03:00 |
|
Peter Dimov
|
e15bccc09b
|
Fix cmake_install_test/main.cpp
|
2021-10-02 16:57:38 +03:00 |
|
Peter Dimov
|
bb775c071a
|
Update system_error::what to use error_code::what
|
2021-10-02 15:00:40 +03:00 |
|
Peter Dimov
|
01676ae42f
|
Update documentation
|
2021-10-02 14:47:07 +03:00 |
|
Peter Dimov
|
eefcc5dcf6
|
Add error_code::what
|
2021-10-02 14:41:27 +03:00 |
|
Peter Dimov
|
f2d3a0decf
|
Update documentation
|
2021-10-02 01:39:06 +03:00 |
|
Peter Dimov
|
0ccf08509b
|
Add a constructor taking ErrorCodeEnum and a source location
|
2021-10-01 23:04:04 +03:00 |
|
Peter Dimov
|
7a72aee355
|
Merge branch 'develop' into feature/std-category-2
|
2021-09-24 23:54:51 +03:00 |
|
Peter Dimov
|
a8df99e927
|
Use source_location::to_string in system_error::build_message
|
2021-09-24 20:40:19 +03:00 |
|
Peter Dimov
|
85c7d92302
|
Avoid instantiating the system category in error_code::operator std::error_code
|
2021-09-24 15:24:45 +03:00 |
|
Peter Dimov
|
4c201d26b2
|
Update std_interop_test10
|
2021-09-24 04:29:29 +03:00 |
|
Peter Dimov
|
1659dfbeba
|
Avoid instantiating generic_category in error_condition::operator std::error_condition
|
2021-09-24 04:27:08 +03:00 |
|
Peter Dimov
|
d2b8b54356
|
Do not use std::system_category under MinGW and g++ 4.x
|
2021-09-21 16:35:40 +03:00 |
|
Peter Dimov
|
41f7ea49cb
|
Do not use std::system_category under VS2013
|
2021-09-21 16:02:12 +03:00 |
|
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 |
|