Quellcode durchsuchen

fix(tuple): make tuple copy & move ctor. constexpr

greatbridf vor 1 Jahr
Ursprung
Commit
15063be59a
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      gblibstdc++/include/tuple

+ 2 - 2
gblibstdc++/include/tuple

@@ -257,8 +257,8 @@ public:
     
     // TODO: std::pair constructors
 
-    tuple(const tuple&) = default;
-    tuple(tuple&&) = default;
+    constexpr tuple(const tuple&) = default;
+    constexpr tuple(tuple&&) = default;
 
     constexpr tuple& operator=(const tuple& other) = default;
     constexpr tuple& operator=(tuple&& other) = default;