Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2916)

Unified Diff: base/template_util.h

Issue 1475233002: Remove base::enable_if (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/template_util.h
diff --git a/base/template_util.h b/base/template_util.h
index 83fa322a67226d512b6a6b3974b76637ee2ffbc7..6d4ac9f4d41c72e2fe41b215dbad6d5091b0200b 100644
--- a/base/template_util.h
+++ b/base/template_util.h
@@ -117,12 +117,6 @@ struct is_class
sizeof(internal::YesType)> {
};
-template<bool B, class T = void>
-struct enable_if {};
-
-template<class T>
-struct enable_if<true, T> { typedef T type; };
-
} // namespace base
#endif // BASE_TEMPLATE_UTIL_H_
« no previous file with comments | « base/numerics/safe_numerics_unittest.cc ('k') | chrome/browser/sync_file_system/drive_backend/callback_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698