Boost logo

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ձѥ%¹‘•à¸())½…Å×µ¸43ÍÁ•è5׎è)Q•±•›͹¥


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk