Re: [eigen] Namespaces

[ Thread Index | Date Index | More Archives ]

> > Look at what Qt does. Qt classes are not encapsulated in any namespace,
> > instead they have the Q prefix, like "QObject".
> Qt was first release at a time when namespaces were not well (if at all) 
> supported by most C++ compiler.

I have to agree with Cyrille. It would be cleaner to use Eigen::Object instead of prefixing every
class with Ei. Let the application programmer figure out which "using" statements they want to do.
It'll probably be rare to get namespace collisions if eigen is the only matrix library used in an
application. Plus, when Eigen3 comes out, it'll be easier for app programmers to which by changing
the "using EigenX" instead of the prefix.


Mail converted by MHonArc 2.6.19+