> Yeah, but there's no two ways about it if we want to start being
> "good" computer library citizens, which I think is a laudable goal.
> The explicitly-namespaced code will be pretty ugly and verbose though.
> 
> What I'd really like is some kind of GCC plugin that, on an undefined
> type error, you could have it modify the source and try Foo::Type
> instead, and if that worked, to carry on.

How about renaming the offending class 'TheClassFormerlyKnownAsMesh'

and rely on the old C-style namespace-through-obfuscation?

We can then add a Mesh wrapper class which yells deprecated in the
constructor...

Just a (not very useful) thought.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to