Comments (8)
Are you aware how this works with the "original" luabind? My understanding is that at the moment you take the address of the method, the syntactic sugar of default arguments of a method declaration/definition is gone.
from luabind-deboostified.
Are you aware how this works with the "original" luabind?
Can't say how it works in the original version..
My understanding is that at the moment you take the address of the method, the syntactic sugar of default arguments of a method declaration/definition is gone.
Is there a way to use the syntactic sugar?
from luabind-deboostified.
Well, until I see proof of the other case, I assume it is not possible to automatically deduce default arguments given a function pointer, since the default arguments are not part of the function type
from luabind-deboostified.
Can we explicitly tell to luabind default arguments, then?
from luabind-deboostified.
Well it would be possible to specify default arguments and let luabind genrate the wrapper functions, I guess
from luabind-deboostified.
Can you help with how to specify them?)
from luabind-deboostified.
This requires enhancement of the library itself first
from luabind-deboostified.
Ah.. Okay. I just don't know how to do this. Will leave it as is for now...
from luabind-deboostified.
Related Issues (20)
- const references to floats do not work with object calls HOT 5
- runtime error when calling lua function from C++, passing a const char* HOT 6
- Returning a null smart pointer from C++ does not return a nil object HOT 9
- assertion failure in object_rep::add_dependency HOT 6
- Do you have any plans to extend initial functionality? HOT 2
- gcc Error: wrong number of template arguments (1, should be 3) HOT 13
- Support object_cast_nothrow with std::optional HOT 3
- Unit test "test_policies.cpp" fails to be build on GCC 6.3 because of "out_value_policy.hpp" HOT 1
- Dead code warning of Coverity Scan on "luabind/detail/format_signature.hpp" HOT 15
- test_implicit_cast.cpp test fails
- Lua classes from C++ HOT 33
- Terminate only when callback wasn't set HOT 4
- Which branch does not contain the boost dependency? HOT 1
- Multiple Return Values HOT 2
- Failed to build latest state (87897cf) on GCC 6.4.0 HOT 4
- set_package_preload?
- test_implicit_cast crashes gcc 4.7.3 HOT 2
- pure_out_value with discard_result HOT 3
- warning: class template partial specialization contains template parameters that can not be deduced; this partial specialization will never be used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luabind-deboostified.