summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-07-14 18:31:55 +0000
committerEric Fiselier <eric@efcs.ca>2019-07-14 18:31:55 +0000
commit19063b99b0d9478685e125ea9a43a6dbd92ccb24 (patch)
tree0084fc9d4f12ecfceb84c0d9ead72a9c7aa3a73e
parentd13b2c9c445785e560ffaf00b9f9ebb7f8862e07 (diff)
Cleanup whitespace in <variant>. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@366026 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/variant18
1 files changed, 7 insertions, 11 deletions
diff --git a/include/variant b/include/variant
index 21871ae3c..88a625df7 100644
--- a/include/variant
+++ b/include/variant
@@ -1089,14 +1089,6 @@ private:
}
};
-template <class... _Types>
-struct __overload;
-
-template <>
-struct __overload<> { void operator()() const; };
-
-
-
struct __no_narrowing_check {
template <class _Dest, class _Source>
using _Apply = __identity<_Dest>;
@@ -1120,14 +1112,18 @@ using __check_for_narrowing = typename _If<
>::template _Apply<_Dest, _Source>;
+template <class... _Types>
+struct __overload;
+
+template <>
+struct __overload<> { void operator()() const; };
+
template <class _Tp, class... _Types>
struct __overload<_Tp, _Types...> : __overload<_Types...> {
using __overload<_Types...>::operator();
template <class _Up>
- auto operator()(_Tp, _Up&&) const ->
-
- __check_for_narrowing<_Tp, _Up>;
+ auto operator()(_Tp, _Up&&) const -> __check_for_narrowing<_Tp, _Up>;
};
template <class _Base, class _Tp>