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

Side by Side Diff: base/template_util_unittest.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « base/template_util.h ('k') | base/third_party/icu/icu_utf.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/template_util.h" 5 #include "base/template_util.h"
6 6
7 #include "base/basictypes.h"
8 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
9 8
10 namespace base { 9 namespace base {
11 namespace { 10 namespace {
12 11
13 struct AStruct {}; 12 struct AStruct {};
14 class AClass {}; 13 class AClass {};
15 enum AnEnum {}; 14 enum AnEnum {};
16 15
17 class Parent {}; 16 class Parent {};
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 "IsMemberFunctionPointer"); 98 "IsMemberFunctionPointer");
100 static_assert(is_member_function_pointer<int (AStruct::*)(int)>::value, 99 static_assert(is_member_function_pointer<int (AStruct::*)(int)>::value,
101 "IsMemberFunctionPointer"); 100 "IsMemberFunctionPointer");
102 static_assert(is_member_function_pointer<int (AStruct::*)(int) const>::value, 101 static_assert(is_member_function_pointer<int (AStruct::*)(int) const>::value,
103 "IsMemberFunctionPointer"); 102 "IsMemberFunctionPointer");
104 static_assert(is_member_function_pointer<int (AStruct::*)(int, int)>::value, 103 static_assert(is_member_function_pointer<int (AStruct::*)(int, int)>::value,
105 "IsMemberFunctionPointer"); 104 "IsMemberFunctionPointer");
106 105
107 } // namespace 106 } // namespace
108 } // namespace base 107 } // namespace base
OLDNEW
« no previous file with comments | « base/template_util.h ('k') | base/third_party/icu/icu_utf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698