Peter Dimov
736d618120
Reformat error_code.hpp
2018-09-15 20:05:10 +03:00
Peter Dimov
f92c0fc9b7
Use enable_if from type_traits
2018-09-15 01:50:41 +03:00
Peter Dimov
dc5a054d9e
Remove unnecessary #include
2018-09-15 01:00:39 +03:00
Peter Dimov
3c59cea7ef
Disable constexpr on Clang/libstdc++4.8
2018-07-19 19:04:53 +03:00
Peter Dimov
e57cca107d
Disable constexpr on Clang/Win
2018-07-09 13:50:27 +03:00
Peter Dimov
9e039cfaf9
Fix dllexport mismatch errors under clang++
2018-06-29 05:39:42 +03:00
Peter Dimov
084d8e119e
Update g++ workaround to exclude 7.4/8.1
2018-06-29 03:56:56 +03:00
Peter Dimov
d1f3d3b349
Merge branch 'develop' into feature/constexpr
2018-01-29 14:57:30 +02:00
Peter Dimov
0433e561b5
Change the invalid address of boost::throws() to 8 from 1, so that it's properly aligned
2018-01-29 02:29:14 +02:00
Peter Dimov
35e3e22c7e
Add BOOST_SYSTEM_CONSTEXPR to operator bool
2018-01-22 23:39:59 +02:00
Peter Dimov
7b94454e7c
Merge branch 'develop' into feature/constexpr
2018-01-22 21:13:37 +02:00
Peter Dimov
0b48bb8166
Use explicit operator bool when available
2018-01-22 21:13:02 +02:00
Peter Dimov
19d5bf5f04
clang++ 3.8 and below requires a user-provided default constructor
2018-01-22 17:39:29 +02:00
Peter Dimov
587ceaf739
Enable constexpr in header-only mode as well
2018-01-22 04:56:40 +02:00
Peter Dimov
77817d8847
Fix MinGW link errors by properly exporting symbols
2018-01-22 02:20:01 +02:00
Peter Dimov
61b4d8ef24
Fix variant=release link errors
2018-01-21 21:42:22 +02:00
Peter Dimov
83ddde6b78
Disable constexpr on g++ 7/8 in C++17 mode due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83835
2018-01-14 15:55:23 +02:00
Peter Dimov
fe55a4a963
Make error_category::op==, !=, < nonmembers (a non-literal class can't have constexpr members acc. to g++)
2018-01-14 08:49:25 +02:00
Peter Dimov
7b6dcf6ac6
Make error_code, error_condition literal if C++14 constexpr is available
2018-01-14 07:24:00 +02:00
Peter Dimov
829a1320a7
Replace BOOST_SYSTEM_NO_DEPRECATED with BOOST_SYSTEM_ENABLE_DEPRECATED
2017-10-21 19:19:57 +03:00
Beman
e039a454cf
Hand add the fix from github.com/boostorg/system/pull/12. Note: This fix was verified by testing in release mode with clang 4.0 on Linux. It crashed before applying the P/R and passed afterwards. The pull request was applied by hand to add some new comments and do some other minor code rearrangements. Thanks to Visigoth for the P/R.
2017-09-07 16:36:48 -04:00
Andrey Semashev
b6ef4ad220
Silence MSVC warnings about 'this' in base class initializer list.
2017-09-05 21:32:25 +03:00
Peter Dimov
a0fb1f2d41
Simplify 03/11 mismatch test because of MinGW; message() doesn't work
2017-07-24 12:29:32 +03:00
Peter Dimov
c639237adf
Maintain the same error_category class layout in 03/11 mode
2017-07-24 05:32:44 +03:00
Peter Dimov
2649b7e4a6
Merge branch 'develop'
2017-06-22 21:56:51 +03:00
Peter Dimov
87c427b5df
Rework the equivalence logic in terms of the corresponding downstream equivalent
2017-06-22 19:27:55 +03:00
Beman
bd37d3b619
Reformat overly long lines of code.
2017-06-04 11:17:39 -04:00
Peter Dimov
02262a4048
Test a user-defined error condition category; improve equivalent
2017-05-21 01:25:09 +03:00
Peter Dimov
bdd1613898
Do not map system::generic to std::generic directly
2017-05-20 19:33:03 +03:00
Peter Dimov
c4238c745c
Add second overload of equivalent, improve first
2017-05-20 18:59:15 +03:00
Peter Dimov
2d18f66800
Try to fix g++ 4.x issue with generic_category
2017-05-20 18:43:31 +03:00
Peter Dimov
044c0565b9
Add test for std interop; implement equivalent
2017-05-20 14:33:54 +03:00
Peter Dimov
6010be4144
Add conversions to std:: counterparts when <system_error> is available
2017-05-20 06:05:39 +03:00
Beman
504c5e95ee
Merge branch 'develop'
2017-02-17 06:49:49 -05:00
Beman
dc985cb3bc
Clean up some sloppy include guards that were clashing with other Boost projects
2017-01-23 17:08:17 -05:00
Beman
af1f767dfe
Comment two lines of code to try to prevent user confusion error_codes and error_conditions, such exhibited by ticket #12574 .
2016-11-28 08:32:26 -05:00
Andrey Semashev
241f69c55e
Fix gcc warnings about unused variables
2015-11-16 16:42:21 +03:00
Beman
5a29c4458d
Merge branch 'develop'
...
Conflicts:
doc/reference.html
include/boost/system/error_code.hpp
test/system/error_code_test/error_code_test.vcxproj
test/system/system-dll/system-dll.vcxproj
test/system_msvc/system_msvc.sln
2014-06-02 08:14:58 -04:00
Beman
8c1549a307
Removed unneeded #include <boost/operators.hpp>
2014-05-31 13:58:40 -04:00
Tim Blechmann
2c620a4f3a
fix header-only use of error codes
...
BOOST_ERROR_CODE_HEADER_ONLY was not working when the headers are separated
from the sources (e.g. when installing the headers to fhs-style /usr/include
or the like). to avoid this, we move the implementation to an .ipp file
Signed-off-by: Tim Blechmann <tim@klingt.org >
2014-01-04 12:36:44 +01:00
Vicente J. Botet Escriba
ec4d3bc41e
System/FileSystem: merge from trunk to fix #7278 .
...
[SVN r83550]
2013-03-24 20:20:29 +00:00
Beman Dawes
08ea984237
Use C++11 explicit conversion operator if available
...
[SVN r83210]
2013-02-28 20:55:07 +00:00
Beman Dawes
87130d1d73
Add BOOST_SYSTEM_NOEXCEPT to several functions previously missed. Update documentation to reflect use of noexcept with fallback to C++03 when C++11 feature not present.
...
[SVN r83197]
2013-02-28 02:13:56 +00:00
Vicente J. Botet Escriba
65e14ff167
System/FileSystem/Asio/Thread: ref #7278 Added noexcept to Boost.System to conform with C++11
...
[SVN r81808]
2012-12-09 14:47:39 +00:00
Beman Dawes
7ffc036bc2
Merge trunk, including changes to come into closer conformance with C++0x FCD
...
[SVN r63685]
2010-07-06 10:47:30 +00:00
Beman Dawes
baae3a392a
Upgrade system and filesystem to conform system_category and generic_category interface to N3090, the current C++0x working paper, section 19.5, System error support.
...
Refactor API macros into a new header, boost/system/api_config.hpp.
Prohibit user definition of API macros. Rationale: ensure all translation units use same definitions, cut number of environments that need to be tested.
[SVN r62313]
2010-05-30 15:38:32 +00:00
Beman Dawes
f8ddc693ae
System: merge trunk
...
[SVN r57634]
2009-11-13 14:37:32 +00:00
Beman Dawes
6a925690ca
System: Correct too_many_symbolic_link_levels misspelling. Fix #3559 .
...
[SVN r57553]
2009-11-10 19:31:24 +00:00
Beman Dawes
691fb5522c
system: merge trunk
...
[SVN r56777]
2009-10-13 13:44:42 +00:00
Beman Dawes
b9fbd88eb6
System: minor code clean up
...
[SVN r56631]
2009-10-07 13:27:27 +00:00