|
Boost : |
Subject: [boost] [base_from_member][sun-next_cpp11] problem with variadics at base_from_member
From: JoaquÃn M LópezMuñoz (joaquin_at_[hidden])
Date: 2015-11-01 07:29:28
Hi,
In 2012, boost::base_from_member was equipped with variadics machinery
to perfect-forward construction arguments to the contained member.
Unfortunately, Solaris Studio 12.5 on Intel chokes on it
(http://tinyurl.com/no7trgb ):
"../boost/utility/base_from_member.hpp", line 137:
Error: Parameter pack 'x' not expanded with '...' [...]
Oddly enough, the same compiler does work fine on Sparc.
May I suggest that lines 129-132 of boost/utility/base_from_member.hpp
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
!defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \
!defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
!(defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 4))
be added a special provision for this environment (the sÝ
ä¥Ð)
±É
ä¡
̽È
Ð
¹ÁÉ¥½È¤ü((¥
¥¹¡ ==MQ}9=}
a`ÄÅ}IY1U}II9
L¤p(
¥¹¡ ==MQ}9=}
a`ÄÅ}YI%%
}Q5A1QL¤p(
¥¹¡ ==MQ}9=}
a`ÄÅ}U9
Q%=9}Q5A1Q}U1Q}IL¤p(¡¥¹¡}}9U
}|¤¡}}9U
}|ôôФ¡}}9U
}5%9=I}|ðФ¤p(¡¥¹¡}}MU9AI=}
¤¥¹¡}}¤Ìàؤ¡}}MU9AI=}
ðôÁàÔÄÐÀ¤¤()$
¸ÐÕ¹½ÉÑÕ¹
ѱäÑÍÐÑ¡¥Ìµåͱ
Ì$½¸Ð¡
Ù
ÍÌѼѡ)½µÁ¥±È¸]%\°µä¥¹ÑÉÍÐ¥¸¡
Ù¥¹Ñ¡¥Ì¥á¥ÌÑ¡
Ð¥ÐÌ)͵¥¹±äÑ¡½¹±äÕÁÉٹѥ¹=É
±M½±
É¥ÌMÑÕ¥¼ÄȸԽ¸%¹Ñ°)ɽ´ÍÕÁÁ½ÉÑ¥¹ ½½Íй5ձѥ%¹à¸())½
Å×µ¸43ÍÁè5׎è)Q±Í¹¥
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk