[glibmm] Glib::Variant: Hide namespace Glib::detail from Doxygen
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Glib::Variant: Hide namespace Glib::detail from Doxygen
- Date: Mon, 18 Sep 2017 08:17:32 +0000 (UTC)
commit b93615bc5657ee571850cf76b3d415d46cefdbf8
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Sep 18 10:15:13 2017 +0200
Glib::Variant: Hide namespace Glib::detail from Doxygen
Glib::detail contains internal details, used by Variant<std::tuple>.
glib/src/variant.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glib/src/variant.hg b/glib/src/variant.hg
index 3c3ae4e..9ea7c69 100644
--- a/glib/src/variant.hg
+++ b/glib/src/variant.hg
@@ -1468,6 +1468,7 @@ const VariantType& Variant<std::tuple<Types...>>::variant_type()
return type;
}
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace detail
{
template <class Tuple, std::size_t... Is>
@@ -1483,6 +1484,7 @@ void expand_tuple(std::vector<VariantBase> &variants, const Tuple & t,
(void)swallow {(expander(Variant<typename std::tuple_element<Is,
Tuple>::type>::create(std::get<Is>(t))))...};
}
} // namespace detail
+#endif // DOXYGEN_SHOULD_SKIP_THIS
template <class... Types>
Variant<std::tuple<Types...>>
@@ -1522,6 +1524,7 @@ Variant<T> Variant<std::tuple<Types...>>::get_child_variant(gsize index) const
return entry;
}
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace detail
{
// swallows any argument
@@ -1540,6 +1543,7 @@ void assign_tuple(std::vector<VariantBase> &variants, Tuple & t, std::index_sequ
(void)swallow {(any_arg(std::get<Is>(t) = VariantBase::cast_dynamic<Variant<typename
std::tuple_element<Is, Tuple>::type > >(variants[i++]).get()))...};
}
} // namespace detail
+#endif // DOXYGEN_SHOULD_SKIP_THIS
template <class... Types>
std::tuple<Types...> Variant<std::tuple<Types...>>::get() const
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]