aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-10-18 16:37:04 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:07:22 -0300
commitc35335d83e5d5c4e33c5d0d7f5a0f642d62c5081 (patch)
treece5a9233fe1ce42bee2aad0b990c47153d68b65e /tests/libother
parentd90f1f7e7e17df8f8a217ecb0441a48407d7c587 (diff)
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