Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2007-04-15 13:10:48


Steven Watanabe wrote:
> AMDG
>
> Under msvc 8.0 size_t seems to be defined as __w64 unsigned int. It seems
> to prefer conversion to unsigned int to conversion to unsigned long. As
> a result
> promote_traits returns unsigned int causing warnings all over the place.

There is <boost/type_traits/integral_promotion.hpp> in HEAD. Why not
switch to it? If ublas supports compilers that integral_promotion
doesn't support (e.g. borland), I can write a workaround that doesn't
promote enums on those compilers but correctly promotes integral types.

-- 
Alexander Nasonov
http://nasonov.blogspot.com
Against the assault of laughter nothing can stand. -- Mark Twain
--
This quote is generated by: 
	/usr/pkg/bin/curl -L http://tinyurl.com/veusy         \
	  | sed -e 's/^document\.write(.//' -e 's/.);$/ --/'  \
	        -e 's/<[^>]*>//g' -e 's/^More quotes from //' \
	  | fmt | tee ~/.signature-quote

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