$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-01-24 20:31:23
On Jan 24, 2004, at 7:20 PM, Daryle Walker wrote:
> Can you have both? The built-in signed integral types would go to the
> "ptrdiff_t" version and the built-in unsigned integral types would go
> to the
> "size_t" version. Or do the conversion rules produce an ambiguity
> error
> instead?
If you simply define both, you're setting yourself up for an ambiguity
error. For example if:
ptrdiff_t == long
size_t == unsigned long
then an int argument might be able to convert to either with equal ease.
-Howard