Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2003-06-10 09:57:41


Patrick Kowalzick wrote

>For BC++ just use int and not size_t. It is not aching because we use
>ONLY specialized classes, like point<double,3> which could be
>instaciated, or?

How about:

#if defined(__BORLANDC__)
# define BOOST_TEMPLATE_SIZE_T int
#else
# define BOOST_TEMPLATE_SIZE_T size_t
#endif

or something similar.

>// int used for second parameter because borland gets confused with size_t
>template <typename T,int> class point;

template< typename T, BOOST_TEMPLATE_SIZE_T > class point;

Regards,
Reece

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger


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