[fdo-dev] Pre-conditions and unsafe constuctions
Mateusz Loskot
mateusz at loskot.net
Thu Dec 7 12:23:35 EST 2006
Mateusz Loskot wrote:
> Traian Stanev wrote:
>> Hi Mateusz.
>>
>> I think you're overthinking it. Use whatever cast will do the job
>> correctly.
>
> Hi Traian,
>
> I'm just trying to understand the rationale behind SmartCast and
> DownCast, and why errors are not reported with exception.
>
> I will try to ask another way:
>
> What should the FDO do if dynamic_cast fails?
My reasoning behind asking these questions is that
I see I can expect in FDO problem as reported here:
https://fdo.osgeo.org/servlets/Scarab?id=FDO123
So, I'm looking for good solution that will help me to catch
these kind of problems.
At best, I'd prefer to stick to "FDO way", what I'm asking for.
OK, let's forget these questions.
I'll do it as best as I can and I see what reviewers will
tell about it.
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the Fdo-internals
mailing list