From 1a5856e34c4aad190f8140bdfb54434f05d3597a Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Fri, 31 Oct 2014 22:54:28 +0000 Subject: [PATCH] refs #345 For consistency, CValueObjectStdTuple is friend of TupleConverter specialization for template value classes. --- src/blackmisc/tuple.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/blackmisc/tuple.h b/src/blackmisc/tuple.h index 726e3b1e0..b05469538 100644 --- a/src/blackmisc/tuple.h +++ b/src/blackmisc/tuple.h @@ -105,6 +105,7 @@ template class TupleConverter> : TupleConverterBase \ { \ friend class T; \ + friend class BlackMisc::CValueObjectStdTuple>; \ static_assert(Private::HasEnabledTupleConversion>::value, \ "Missing BLACK_ENABLE_TUPLE_CONVERSION macro in " #T); \ static auto toTuple(const T &o) -> decltype(BlackMisc::tie MEMBERS) \