On Sat, 6 Dec 2008, John Peterson wrote:

> On Sat, Dec 6, 2008 at 9:20 AM, Roy Stogner <[EMAIL PROTECTED]> wrote:

>> Could you see if you can find any other style of code that will do
>> that disambiguation with gcc 3?  Maybe cast "this" down to a
>> MeshOutput and then call mesh() from the result?  I'm afraid I don't
>> have a gcc 3 compiler around to test with.
>
> How about a dynamic_cast of 'this' to a MeshOutput<MeshBase>* ?

I think a static cast is more appropriate here?  Since we know the
cast will never fail there's no need to make the compiler consider any
RTTI.
---
Roy

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to