|
Boost Users : |
Subject: Re: [Boost-users] [Boost.LexicalCast] problem with 1.59 in Solaris
From: dariomt (dariomt_at_[hidden])
Date: 2015-12-29 04:01:51
Piotr Kowalski <koval.gnu <at> gmail.com> writes:
>
>
> 2015-12-28 11:58 GMT+01:00 dariomt <dariomt <at> gmail.com>:Piotr
Kowalski <koval.gnu <at> gmail.com> writes:
> >
> >
> > Are you using solaris studio 12.3 or older?Before version 12.4
therewas a bug where partial specialization for templates with same name
but
> in different namespaces (basic_string in std:: and boost::container::
in
> this case) was considered ambiguous.
> > A workaround for this problem (I would recommend using solaris studio
> 12.4) can be found here:Â https://community.oracle.com/thread/3706125
> >
> >Thanks for the info and the link!
> It seems to be 12.1
> $ CC -V
> CC: Sun C++ 5.10 SunOS_i386 Patch 128229-32 2013/12/04
> It's not easy to change the compiler, it might nÁ½ÍÍ¥±©
Ð
±°¨(ø½ÈÑ¡¥ÌÍÁ¥¥Áɽ©Ð¸(ø(ø$¹½ÜÝ¡
ÐÑ¡
е
¹Ì°Ý¡
ÙÍ¥µ¥±
ÈÁɽ±µÌ¥¸½ÕÈÁɽ©ÐÝ¡¥ )¥ÌÝ¡ä$¡
¥¹ÙÍÑ¥
ÑÑ¡¥ÌÍÁ¥
±¥é
Ñ¥½¸Õ
¹½Õ¹Ý½É
ɽչ¸(ø
(ø(ø½È¹½Ü$±°¥½ÕÐÑ¡ÍÁ¥
±¥é
Ñ¥½¹Ì½È(ø½½ÍÐèé½¹Ñ
¥¹Èèé
Í¥}ÍÑÉ¥¹¸(ø(øQ¡¥Ì¥Ì½¬¥å½Ô
ɹ½Ð½¥¹Ñ¼Õͽ½ÍÐèé½¹Ñ
¥¹È¥¸å½ÕÈ)Áɽ©Ð¸(ø(ø%¸Ñ¡±¥¹¬É½´=É
±½ÉÕ´å½Ô
¸¥¹¥ÍÕÍÍ¥½¸½¸¡½ÜѼ¡
Ù)
±°ÍÁ¥
±¥é
Ñ¥½¹Ì
Ù
¥±
±Ý¡¥±Á¥¹
¡
ÁÁä¸(ø(øQ¡µ½É¹É
°Í½±ÕÑ¥½¸¡ÉÅեɥå½ÔÝ
¹ÐѼ¡
Ù
¸½¥¥
°) ½½ÍÐÁ
Ñ ¤Ý¡¥ Ý½É½ÈµÝ¥Ñ ½½ÍÐĸÔܸÀ¥¹Ù½±Ù¡
¹¥¹È)¥±Ìè(øĸ½½Íн½¹¥½½µÁ¥±È½ÍÕ¹Áɽ}¹¡ÁÀ¡ÁÕÐÑ¡¥Ì
ÐÑ¡¹½¥±¤(ø(ø¥}}MU9AI=}
ðÁàÔÄÌÀ(ø¼¼¬¬FÆÂ"ã22'VrvVâ'FÂ7V6ƦFöâ2f÷"OÛ\ÜÈ[\]O[\]O\[[YK\[[YOÛ\ÜÏÛ\ÜÈË\[[YHØ[Ü\X[ÜÜX×Ý[\LKLËÏÂNÂ[\]O\[[YK[\]O[\]O\[[YK\[[YK\[[YOÛ\ÜÏÛ\ÜË\[[YHØ[Ü\X[ÜÜX×Ý[\ÎÂNÂ[\]O\[[YHLK\[[YHL\[[YHLË[\]O\[[YK\[[YK\[[YOÛ\ÜÈ[\]O[\]O\[[YK\[[YK\[[YOÛ\ÜÏÛ\ÜÈË\[[YHØ[Ü\X[ÜÜX×Ý[\ÏLKLLÏËÏÂNÂBBBÙ[ÙBÝ[YÓÔÕÑURSÔÕS×ÔTPSÔÔP×ÒSÑQTSÓ×ÐQÂÙ[YÛÜÝÛ^XØ[ØØ\ÝÝÛ^XØ[ØÛÛ\
\XÙH\×ÜÝÝ[ÈY[][Û[ÜXÚX[^][ÛÈÚ]HÛÝÚ[ÊBÚYYÓÔÕÑURSÔÕS×ÔTIAL_SPEC_IN_DIFFERENT_NS_BUG
> Â Â Â Â namespace sunpro_cc_aux
> Â Â Â Â {
> Â Â Â Â Â Â template<template<typename, typename, typename> class>
> Â Â Â Â Â Â struct is_stdstring: boost::false_type
> Â Â Â Â Â Â {};
> Â Â Â Â }
>
> Â Â Â Â template<typename T>
> Â Â Â Â struct is_stdstring: sunpro_cc_aux::call_partial_spec_templ3<T,
sunpro_cc_aux::is_stdstring, boost::false_type>
> Â Â Â Â {};
> # define BOOST_IS_STDSTRING_PARTIAL_SPEC(type) \
> Â Â Â Â template<> struct sunpro_cc_aux::is_stdstring<type>
> #else
> Â Â Â Â template<typename T>
> Â Â Â Â struct is_stdstring
> Â Â Â Â Â Â : boost::false_type
> Â Â Â Â {};
> # define BOOST_IS_STDSTRING_PARTIAL_SPEC(type) \
>     templatÑåÁ¹
µ
¡
ÉP°ÑåÁ¹
µQÉ
¥ÑÌ°ÑåÁ¹
µ±±½ø(ø
ÍÑÉÕÐ¥Í}ÍÑÍÑÉ¥¹ðÑåÁñ
¡
ÉP°QÉ
¥ÑÌ°±±½øø(ø¹¥(ø(ø
==MQ}%M}MQMQI%9}AIQ%1}MA¡ÍÑèé
Í¥}ÍÑÉ¥¹¤(ø
è½½ÍÐèéÑÉÕ}ÑåÁ(ø
íôì(ø(ø
==MQ}%M}MQMQI%9}AIQ%1}MA¡½½ÍÐèé½¹Ñ
¥¹Èèé
Í¥}ÍÑÉ¥¹¤(ø
è½½ÍÐèéÑÉÕ}ÑåÁ(ø
íôì(ø(ø(øAɽ
±äѡѵÁ±
ÑÌ
±±}Á
ÉÑ¥
±}ÍÁ}ѵÁ°Ä
¹)
±±}Á
ÉÑ¥
±}ÍÁ}ѵÁ°È
¸½µ¥ÑÑ°$
Ñ¡´½ÈÍ
½)½µÁ±Ñ¹Í̸(ø(ø(ø%ÌÑ¡ÉÝ
äѼÐÑ¡¥Ìͽ±ÕÑ¥½¸¥¹Ñ¼
¸½¥¥
°½½ÍÐɱ
Íü(ø(øAɽ
±ä¥ÐÍ¡½Õ±¥ÉÍÐÉÁ½ÉÑ
ÌÕѼйյȸQ¡¥Ì¥Ì)ÅÕÍÑ¥½¸Ñ¼Ñ¡ ½½ÍÐÙ±½ÁÉÌ´$
´¹½Ð½¹°$
´©ÕÍÐ ½½ÍÐÕÍÈ)
Á
±½ær7Vâ2²²×&VÆFVB'Vw2f÷"×&ö¦V7BâÒÇ6òFöòƧ
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