Boost logo

Boost Users :

Subject: [Boost-users] Problem with variadic BOOST_PP_TUPLE_REM in Clang
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-11-13 16:28:35


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?

-- Jeremiah Willcock


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