Add interface to explicitly specify signatures.
commite57f769493ef32e940d7e31471d1d81e5c605f68
authorDaniel Wallin <daniel@boostpro.com>
Sat, 29 Nov 2008 21:47:53 +0000 (29 22:47 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Sun, 30 Nov 2008 11:03:01 +0000 (30 12:03 +0100)
tree5f9731aa181cdb8bb58d2c4531d16723f1a6f0e4
parenta49e0b32750dac32cb671fed1e43c468f02a6e80
Add interface to explicitly specify signatures.

Add tag_function() which allows us to export functions with explicitly
specified signatures. This enables exporting function objects:

  def("plus1", tag_function<int(int)>(bind(std::plus<int>(), _1, 1)))
luabind/tag_function.hpp [new file with mode: 0644]
test/Jamfile
test/test_tag_function.cpp [new file with mode: 0644]