Boost logo

Boost :

From: Bjorn.Karlsson_at_[hidden]
Date: 2002-07-02 05:38:41

From: Stéphane Bronsart [mailto:stephane.bronsart_at_[hidden]]
> z = lexical_cast<short>("1000"); // throw 3 (Why ? if example above don't
throw ?)
> Under dbg, the copy_of_arg and arg are show the same, but the test if(
copy_of_arg != arg ) fail
> !!! Why ?

Because you're not comparing strings, like in the example above. You're
comparing (different) pointers, not values.


Boost list run by bdawes at, gregod at, cpdaniel at, john at