On Mon, 21 Jun 2010, John Peterson wrote:

>> "using namespace libMesh;" in libmesh_common.h, wrapped in
>> something like
>> #ifndef LIBMESH_USE_NAMESPACE
>> which gets defined by something like
>> ./configure --disable-separate-namespace
>
> Would it really be that simple?  That doesn't put things like our Mesh
> into a libMesh namespace.

Oh, not on your life.  We'd have to do that by hand, in every header
file (and many source files), changing tens of thousands of lines of
code.

All the optional "using namespace libMesh;" would do is bring those
bits back into the global namespace for backwards compatibility.
---
Roy

------------------------------------------------------------------------------
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