Subject: [Boost-bugs] [Boost C++ Libraries] #11884: Typo in is_mem_fun_pointer_tester.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-04 13:04:43
#11884: Typo in is_mem_fun_pointer_tester.hpp
-----------------------------------------------+-------------------------
Reporter: Martin Jerabek <martin.jerabek@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
Version: Boost 1.60.0 | Severity: Problem
Keywords: |
-----------------------------------------------+-------------------------
The file boost/type_traits/detail/is_mem_fun_pointer_tester.hpp contains
two typos which does not affect normal compilations but confuse tools like
Incredibuild which try to parse the source code.
The last define/include/undef stanza is missing `PPI`, making these
preprocessor statements invalid. Here a unified diff to fix these typos:
{{{#!patch
--- .#is_mem_fun_pointer_tester.hpp.1.1.2.4 2016-01-04
13:57:06.000000000 +0100
+++ is_mem_fun_pointer_tester.hpp 2016-01-04 13:58:41.306322500
+0100
@@ -28,9 +28,9 @@
#define PPI <boost/preprocessor/enum_params.hpp>
#include PPI
#undef PPI
-#define <boost/preprocessor/comma_if.hpp>
+#define PPI <boost/preprocessor/comma_if.hpp>
#include PPI
-#undef
+#undef PPI
#endif
namespace boost {
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11884> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC