9 Commits

Author SHA1 Message Date
Peter Dimov
663198ae92 Add BOOST_NULLPTR helper macro 2022-05-23 02:29:23 +03:00
jzmaddock
1635999736 Update nodiscard attribute:
It's not supported on functions pre-c++11 even if __has_cpp_attribute indicates it is supported.
Also update test case.
Fixes https://github.com/boostorg/config/issues/336.
2021-08-19 18:17:56 +01:00
jzmaddock
9aaa4edda1 Add helper macro BOOST_IF_CONSTEXPR. 2020-01-24 18:33:21 +00:00
jzmaddock
b97ab76eae Big clean up to fix issues identified by the inspect program.
Regenerate docs.
2019-08-20 18:51:17 +01:00
jzmaddock
6ef16c8d90 Add BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS.
See https://github.com/boostorg/config/issues/257.
2019-04-02 18:40:25 +01:00
jzmaddock
85b4600817 Add BOOST_ATTRIBUTE_NODISCARD.
See https://github.com/boostorg/config/issues/258.
2019-04-01 19:30:31 +01:00
jzmaddock
38a9ed16db Correct BOOST_UNREACHABLE_RETURN usage in test case. 2019-04-01 17:21:14 +01:00
Andrey Semashev
4a58e5360a Added BOOST_MAY_ALIAS and BOOST_NO_MAY_ALIAS macros.
The macros can be used to mark types that can alias other types (i.e. break
C++ strict aliasing rules).
2017-07-12 17:51:53 +03:00
jzmaddock
003d33725e Add helper macro - BOOST_ATTRIBUTE_UNUSED - to suppress unused type/variable warnings. 2014-10-11 13:10:25 +01:00