[cfe-dev] C++ Test Suite

Doug Gregor doug.gregor at gmail.com
Fri Oct 17 10:45:39 PDT 2008


On Fri, Oct 17, 2008 at 1:28 PM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
> Doug Gregor wrote:
>>
>> Hi Sebastian,
>>
>> On Thu, Oct 16, 2008 at 5:09 PM, Sebastian Redl
>> <sebastian.redl at getdesigned.at> wrote:
>>
>>>
>>> Now, since I wrote the code and since I'm note sure about these corner
>>> cases, I feel like I'm the wrong person to write test cases for the
>>> functionality.
>>>
>>
>> Did you try all of the reinterpret_cast examples from the standard?
>> Those are good for a quick sanity check.
>>
>
> I searched the standard for reinterpret_cast and can't find any examples. Am
> I overlooking something?

That's horrifying :)

But, no, you didn't miss anything; the C++0x working draft doesn't
seem to have any examples of reinterpret_cast either. We'll just have
to write our own tests.

  - Doug



More information about the cfe-dev mailing list