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).
This commit is contained in:
Andrey Semashev committed 2017-07-12 17:51:53 +03:00
1 parent 3ffaa417c2
commit 4a58e5360a
10 files changed
+51

No files matched your search

+2
View File
@@ -1152,6 +1152,8 @@ void print_boost_macros()
PRINT_MACRO(BOOST_FORCEINLINE);
PRINT_MACRO(BOOST_NOINLINE);
PRINT_MACRO(BOOST_FALLTHROUGH);
PRINT_MACRO(BOOST_MAY_ALIAS);
PRINT_MACRO(BOOST_NO_MAY_ALIAS);
}
void print_separator()