mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
I do believe C++'s inconsistencies will destroy me utterly one day.
But it is not this day. C++14 allows for not specifying the `&` in front of the member function
This commit is contained in:
parent
f18bcedd46
commit
715efa6e20
@ -169,7 +169,7 @@ template<typename Signature, bool b = has_deducible_signature<Signature>::value>
|
|||||||
struct fx_traits;
|
struct fx_traits;
|
||||||
|
|
||||||
template<typename Signature>
|
template<typename Signature>
|
||||||
struct fx_traits<Signature, true> : fx_traits<decltype(Signature::operator()), false> {
|
struct fx_traits<Signature, true> : fx_traits<decltype(&Signature::operator()), false> {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user