|
@@ -112,3 +112,10 @@ namespace detail {
|
|
|
return rval;
|
|
return rval;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+template <typename K, typename V, typename C>
|
|
|
|
|
+void swap(trie<K, V, C> & lhs, trie<K, V, C> & rhs) {
|
|
|
|
|
+ using std::swap;
|
|
|
|
|
+ swap(lhs.value_, rhs.value_);
|
|
|
|
|
+ swap(lhs.impl_, rhs.impl_);
|
|
|
|
|
+}
|