-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Use the stdlib's ref and cref function templates."
This reverts commit a237a31. Rationale: With `std::ref` instead of `boost::ref`, luabind related code fails at runtime (I love the smell of dynamic languages burning to the ground). This happens, because luabind hardcodes a reference wrapper predicate via SFINA for `boost::reference_wrapper` (the type returned from `boost::ref`), but fails do to so for stdlib facilities (`std::ref` and `std::reference_wrapper`). I don't even blame them, I would have done the same in the year 2010, as the upsream package is basically unmaintained since freaking 5 years. References: - https://gist.github.com/daniel-j-h/c98c03b3d02f713d035e - #1646 - https://github.com/luabind/luabind/blob/457f28ab5a0d6331409883348588b43e3a0bc944/luabind/detail/convert_to_lua.hpp#L4MC�$
- Loading branch information
1 parent
c031d62
commit 5f14071
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters