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

Unified Diff: base/bind_internal.h

Issue 2944523002: Improving flat containers interface. (Closed)
Patch Set: Review, round 5. Created 3 years, 6 months 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
« no previous file with comments | « no previous file | base/containers/README.md » ('j') | base/containers/README.md » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_internal.h
diff --git a/base/bind_internal.h b/base/bind_internal.h
index c27c34f38260d6ff8a003af7e74a36a1f5a2209b..e85bfd2549531236b3b923bf76c3567829136f36 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -46,19 +46,6 @@ namespace internal {
// BindState<> -- Stores the curried parameters, and is the main entry point
// into the Bind() system.
-template <typename...>
-struct make_void {
- using type = void;
-};
-
-// A clone of C++17 std::void_t.
-// Unlike the original version, we need |make_void| as a helper struct to avoid
-// a C++14 defect.
-// ref: http://en.cppreference.com/w/cpp/types/void_t
-// ref: http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#1558
-template <typename... Ts>
-using void_t = typename make_void<Ts...>::type;
-
template <typename Callable,
typename Signature = decltype(&Callable::operator())>
struct ExtractCallableRunTypeImpl;
« no previous file with comments | « no previous file | base/containers/README.md » ('j') | base/containers/README.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698