From afc494ee5e1a7da67f26c7f07cfd8f91419a424e Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sun, 23 Mar 2014 21:25:47 +0000 Subject: [PATCH] Replaced certain doxygen comments with \private commands without introducing any warnings. refs #91 --- src/blackmisc/tuple_private.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/blackmisc/tuple_private.h b/src/blackmisc/tuple_private.h index 92ce1e652..7a911e0cd 100644 --- a/src/blackmisc/tuple_private.h +++ b/src/blackmisc/tuple_private.h @@ -27,20 +27,18 @@ namespace BlackMisc // Using SFINAE to help detect missing BLACK_ENABLE_TUPLE_CONVERSION macro in static_assert //! \private - //! @{ std::false_type hasEnabledTupleConversionHelper(...); + //! \private template typename T::EnabledTupleConversion hasEnabledTupleConversionHelper(T *); - //! \brief Tupel conversions enabled? + //! \private template struct HasEnabledTupleConversion { - //! \brief detect type typedef decltype(hasEnabledTupleConversionHelper(static_cast(nullptr))) type; }; - //! @} // Using tag dispatch to select which implementation of compare() to use //! \private @@ -79,7 +77,6 @@ namespace BlackMisc // Applying operations to all elements in a tuple, using recursion //! \private - //! @{ template struct TupleHelper { @@ -110,24 +107,19 @@ namespace BlackMisc } }; - //! \brief Applying operations to all elements in a tuple, using recursion + //! \private template <> struct TupleHelper<0> { - //! \brief Compare,as in CValueObject::compareImpl template static int compare(const Tu &, const Tu &) { return 0; } - //! \brief marshall, as in CValueObject::marshallToDbus template static QDBusArgument &marshall(QDBusArgument &arg, const Tu &) { return arg; } - //! \brief unmarshall, as in CValueObject::unmarshallFromDbus template static const QDBusArgument &unmarshall(const QDBusArgument &arg, Tu &) { return arg; } - //! \brief hash, as in CValueObject::getHashValue template static uint hash(const Tu &) { return 0; } }; - //! @} #endif // Q_COMPILER_VARIADIC_TEMPLATES