Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2000-05-30 10:15:24


> So, I think we should move quickly to get stream_cast into the library. I,
> too, think that throwing an exception is the more useful default behavior.
> Is there any use for the version that fails silently? If there is, I
propose
> that we use the syntax
> stream_cast<target_type>(source_value, std::no_throw)

Kevlin's original idea was that stream_cast would make C++ more like a
scripting language. It obviously provides some relaxation of static typing.
The "return-default-value-on-error" semantics were also considered closer to
a scripting language.

        -Steve


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