diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-07-19 15:04:06 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-07-22 02:50:42 (GMT) |
commit | a4cddbb9265e451b89067199001ee2124d833cbb (patch) | |
tree | fffaa2f6a9b9e162731014bb40d6ac0a45633306 /doc/src/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp | |
parent | cc9a1a316d29993ffbe9b36d923021e66e92a832 (diff) | |
download | Qt-a4cddbb9265e451b89067199001ee2124d833cbb.zip Qt-a4cddbb9265e451b89067199001ee2124d833cbb.tar.gz Qt-a4cddbb9265e451b89067199001ee2124d833cbb.tar.bz2 |
moc: Slot with complex template default value does not compile
The way we detect the end of a default argument does not take in account
template parametter.
It is unfortunatelly not trivial to do it properly without semantic information
So we will use heuristics and if the number of < matches the number of >
we consider it is a template. Or if we have a '=' we consider it is not a
template.
Task-number: QTBUG-12260
Reviewed-by: Roberto Raggi
(cherry picked from commit 4da1a3b63445c04d4ca4acae448e9b6b046938c3)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp')
0 files changed, 0 insertions, 0 deletions