Boost logo

Boost :

From: MB (mb2act_at_[hidden])
Date: 2005-11-29 03:48:26


Hi,

I heard VC6 has fatal problems in the case that 'explicit template arguments' are required.

Current Implementation is:

        template< typename SeqT, typename Range >
        inline SeqT copy_range( const Range& r )
        {
            return SeqT( begin( r ), end( r ) );
        }

Workaround is something like:

       template< typename SeqT, typename Range >
        inline SeqT copy_range( const Range& r BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(SeqT))
        {
            return SeqT( boost::begin( r ), boost::end( r ) );
        }

Regards,
MB
http://p-stade.sourceforge.net/

--------------------------------------
STOP HIV/AIDS.
Yahoo! JAPAN Redribbon Campaign 2005
http://pr.mail.yahoo.co.jp/redribbon/


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