I just have something like
MyStruct z(std::tuple<std::string, int, float> test) {
return std::make_from_tuple<MyStruct>(std::move(test));
}
which gives me
In file included from /Users/desgroup/Projects/kara-crimson/parser/src/literals.cpp:1:
In file included from /Users/desgroup/Projects/kara-crimson/parser/include/parser/literals.h:3:
In file included from /Users/desgroup/Projects/kara-crimson/crimson/include/crimson/crimson.h:3:
/Applications/Xcode Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/tuple:1555:5: error: no matching constructor for initialization of 'MyStruct'
_Tp(_VSTD::get<_Idx>(_VSTD::forward<_Tuple>(__t))...)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/tuple:1530:56: note: expanded from macro '_LIBCPP_NOEXCEPT_RETURN'
#define _LIBCPP_NOEXCEPT_RETURN(...) noexcept(noexcept(__VA_ARGS__)) { return __VA_ARGS__; }
^~~~~~~~~~~
/Applications/Xcode Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/tuple:1562:12: note: in instantiation of exception specification for '__make_from_tuple_impl<MyStruct, std::tuple<std::string, int, float>, 0UL, 1UL, 2UL>' requested here
_VSTD::__make_from_tuple_impl<_Tp>(_VSTD::forward<_Tuple>(__t),
^
/Applications/Xcode Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/tuple:1560:15: note: in instantiation of exception specification for 'make_from_tuple<MyStruct, std::tuple<std::string, int, float>>' requested here
constexpr _Tp make_from_tuple(_Tuple&& __t)
^