|
Boost Users : |
Subject: Re: [Boost-users] Problem with variadic BOOST_PP_TUPLE_REM in Clang
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-11-13 17:36:37
On Nov 13, 2013, at 1:28 PM, Jeremiah Willcock <jewillco_at_[hidden]> wrote:
> When using Clang version "Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)" in C++11 mode, the code:
>
> #include <boost/preprocessor.hpp>
> BOOST_PP_TUPLE_REM()(foo(bar, baz) const)
>
> is not expanded correctly. The second line expands to:
>
> BOOST_PP_TUPLE_REM_(foo(bar, baz) const)
>
> while on GCC 4.9, it expands to:
>
> foo(bar, baz) const
>
> Is there a known issue with this macro on Clang?
I see this on clang in both C++03 and C++11 modes.
And with gcc 4.7.2, in c++03 mode, for that matter.
-- Marshall
Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net