refs #345 For consistency, CValueObjectStdTuple is friend of TupleConverter specialization for template value classes.

This commit is contained in:
Mathew Sutcliffe
2014-10-31 22:54:28 +00:00
parent e436fa3870
commit 1a5856e34c

View File

@@ -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) \