Refactoring done (was: Strigi refactor)

Cyrille Berger cberger at cberger.net
Fri Mar 16 08:21:36 GMT 2007


> That would solve it. How would that work?
it creates aliases for namespace. So basically you can have:

namespace Strigi {
template <class T>
class StreamBase {
//blahblah
};

};

namespace jstreams = Strigi; // maybe find a way to mark this as deprecated ?

And then you can either write:

Strigi::StreamBase<char>* a = getStream();
or
jstreams::StreamBase<char>* a = getStream();

-- 
Cyrille Berger




More information about the kde-core-devel mailing list