Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-12-20 03:02:37


Gennadiy Rozental wrote:
> Why following definitions in detail/lcast_precision.hpp doesn't cause an
> ambiguity with 1-2 argument calls?
>
> template<class T>
> inline void lcast_set_precision(std::ios_base& stream, T* = 0 )
> {
> ...
> }
>
> template<class Source, class Target>
> inline void lcast_set_precision(std::ios_base& stream, Source* = 0, Target*
> = 0 )
> {
> ...
> }

I removed " = 0" and commited the fix. Please, try again.

-- 
Alexander Nasonov
http://nasonov.blogspot.com
The World is a book, and those who do not travel read only a page.
-- Saint Augustine --
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