Add policy to suppress automatic attribute dependency.
commit17f9a6c4ff6866da92bf036312ed1826b00925bf
authorDaniel Wallin <daniel@boostpro.com>
Thu, 25 Mar 2010 12:53:24 +0000 (25 13:53 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Sun, 27 Jun 2010 20:41:48 +0000 (27 22:41 +0200)
tree2002932c561bfd9f82c30420590ec1ab3a91cc80
parent8442a2e6e1db691f524cbe61c9d82db512761cb5
Add policy to suppress automatic attribute dependency.

Can be used with def_readwrite/def_readonly to suppress the default
dependency policy. This is useful if the attribute is a
pointer/reference that isn't owned by the enclosing class.
luabind/class.hpp
luabind/no_dependency.hpp [new file with mode: 0644]
test/test_attributes.cpp