+2017-11-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/node_handle.h (_Node_insert_return::get): Remove, as
+ per P0508R0.
+
2017-11-01 François Dumont <fdumont@gcc.gnu.org>
* python/libstdcxx/v6/printers.py (StdExpAnyPrinter.__init__): Strip
_Iterator position = _Iterator();
bool inserted = false;
_NodeHandle node;
-
- template<size_t _Idx>
- decltype(auto) get() &
- {
- static_assert(_Idx < 3);
- if constexpr (_Idx == 0)
- return inserted;
- else if constexpr (_Idx == 1)
- return position;
- else if constexpr (_Idx == 2)
- return node;
- }
-
- template<size_t _Idx>
- decltype(auto) get() const &
- {
- static_assert(_Idx < 3);
- if constexpr (_Idx == 0)
- return inserted;
- else if constexpr (_Idx == 1)
- return position;
- else if constexpr (_Idx == 2)
- return node;
- }
-
- template<size_t _Idx>
- decltype(auto) get() &&
- {
- static_assert(_Idx < 3);
- if constexpr (_Idx == 0)
- return std::move(inserted);
- else if constexpr (_Idx == 1)
- return std::move(position);
- else if constexpr (_Idx == 2)
- return std::move(node);
- }
-
- template<size_t _Idx>
- decltype(auto) get() const &&
- {
- static_assert(_Idx < 3);
- if constexpr (_Idx == 0)
- return std::move(inserted);
- else if constexpr (_Idx == 1)
- return std::move(position);
- else if constexpr (_Idx == 2)
- return std::move(node);
- }
};
_GLIBCXX_END_NAMESPACE_VERSION