
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 ) { ... } As of now these definitions cause Boost.Test to fail build on Sun CC 5.3 compiler and I would really like it to be addressed somehow. Gennadiy

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
participants (2)
-
Alexander Nasonov
-
Gennadiy Rozental