mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #345 For consistency, CValueObjectStdTuple is friend of TupleConverter specialization for template value classes.
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
template <class... U> class TupleConverter<T<U...>> : TupleConverterBase \
|
||||
{ \
|
||||
friend class T<U...>; \
|
||||
friend class BlackMisc::CValueObjectStdTuple<T<U...>>; \
|
||||
static_assert(Private::HasEnabledTupleConversion<T<U...>>::value, \
|
||||
"Missing BLACK_ENABLE_TUPLE_CONVERSION macro in " #T); \
|
||||
static auto toTuple(const T<U...> &o) -> decltype(BlackMisc::tie MEMBERS) \
|
||||
|
||||
Reference in New Issue
Block a user