Warning, /sdk/clazy/docs/checks/README-qvariant-template-instantiation.md is written in an unsupported language. File is not indexed.
0001 # qvariant-template-instantiation 0002 0003 Detects when you're using `QVariant::value<Foo>()` instead of `QVariant::toFoo()`. 0004 0005 The former results in more code being generated in theory. 0006 0007 ## False-Positives 0008 Beware that this function doesn't work well when typedefs are involved, for example 0009 it suggests that `v.toUlongLong()` should replace `v.value<quintptr>()`, which 0010 isn't semantically correct.