Index: boost/flyweight/flyweight.hpp =================================================================== --- boost/flyweight/flyweight.hpp (revision 50234) +++ boost/flyweight/flyweight.hpp (working copy) @@ -58,6 +58,48 @@ } /* namespace flyweights::detail */ +#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x590) +template struct parameter::parameters< + parameter::optional< + parameter::deduced >, + detail::is_tag + >, + parameter::optional< + parameter::deduced >, + is_tracking + >, + parameter::optional< + parameter::deduced >, + is_factory + >, + parameter::optional< + parameter::deduced >, + is_locking + >, + parameter::optional< + parameter::deduced >, + is_holder + > +>; + +template struct parameter::parameters< + parameter::optional< + parameter::deduced< + detail::unmatched_arg + >, + mpl::not_< + mpl::or_< + detail::is_tag, + is_tracking, + is_factory, + is_locking, + is_holder + > + > + > +>; +#endif + template< typename T, typename Arg1,typename Arg2,typename Arg3,typename Arg4,typename Arg5