Hi,
Currently, it's not, which doesn't make much sense, does it?
So,
template <typename T>
int qMetyTypeId<T>() {
return qMetaTypeIdHelper<typename std::remove_cv<T>::type>();
}
?
(There's of course a lot more involved in this, registration should discard
const, too, e.g.).
Thanks,
Marc
--
Marc Mutz <[email protected]> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - Qt, C++ and OpenGL Experts
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development