summaryrefslogtreecommitdiffstats
path: root/tests/libother
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-10-18 16:37:04 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-10-19 17:51:18 -0300
commit20a12c8037e7c44dfac785f8b710682a4af585ca (patch)
tree176144de3c119b7ffb64302015b4b12724b38526 /tests/libother
parenta7aebc0e36f71ef541e3056b334a4e4ab48b3031 (diff)
downloadshiboken-20a12c8037e7c44dfac785f8b710682a4af585ca.tar.gz
shiboken-20a12c8037e7c44dfac785f8b710682a4af585ca.tar.xz
shiboken-20a12c8037e7c44dfac785f8b710682a4af585ca.zip
Updated the overload sorting to handle convertible types inside containers.
The code as it is now will work for containers with wrapped types, and will also consider some primitive types implicitly convertible for dependency sorting purposes. One weakness of the current solution is that it doesn't handle all possible combinations for containers with multiple types. E.g. for Container<T1, T2>, with T1 being implicitly convertible from I1, and T2 from I2, dependency resolution will take into account * Container<T1, T2> * Container<I1, T2> * Container<T1, I2> but not * Container<I1, I2> For the time being every binding is working fine this way, when the need arises we can fix it, for now let us not slow down the generation. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Ara├║jo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/libother')
0 files changed, 0 insertions, 0 deletions