Make using dependency() on non class return types a nop.
commit5f0ccfaff4f98e7bc386c45ac97cbde871463ed6
authorDaniel Wallin <daniel@boostpro.com>
Tue, 21 Oct 2008 21:21:54 +0000 (21 23:21 +0200)
committerDaniel Wallin <daniel@boostpro.com>
Sun, 7 Dec 2008 19:52:11 +0000 (7 20:52 +0100)
tree4b319126bd92ca123f7cbedb5aec2634e734a2f5
parent92e3829c5f560dd89d70ff177f3018c8b1b79b60
Make using dependency() on non class return types a nop.

It would fail with an assertion if used on functions with non-class
return types. This was a problem for iterator_policy, which turns the
return value into a c-closure.
luabind/dependency_policy.hpp