arun11299 / cpp-jwt

JSON Web Token library for C++
MIT License
396 stars 111 forks source link

issue-33: Add test showing how to invoke move ctor #34

Closed mhfrantz closed 6 years ago

mhfrantz commented 6 years ago

It looks like even if I declare the move constructor explicitly, it doesn't help with the overload resolution. However, if I call std::move when invoking the constructor, it will choose the move constructor regardless of whether it is declared explicitly. While there is no change necessary, if you'd like the new unit test that demonstrates the workaround, feel free to merge it.

33

mhfrantz commented 6 years ago

Closing to remove pthread.

mhfrantz commented 6 years ago

Replaced by #35