BOOST_OPENMETHOD: move return type to signature if possible #32
jll63
announced in
Announcements
Replies: 2 comments
-
#include <string>
#include <tuple>
template<typename> struct test{};
using foo = test<auto (int)->std::string>;
using bar = test<auto (int)->std::tuple<int>>; // MSVC fails on this
using baz = test<auto (int)->decltype(std::tuple<int>())>; |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
#23 for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
BOOST_OPENMETHOD(poke, (std::ostream& a, virtual_ptr<Animal> b) -> void)Beta Was this translation helpful? Give feedback.
All reactions