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

Side by Side Diff: base/template_util.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/task_runner_util.h ('k') | base/test/mock_chrome_application_mac.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef BASE_TEMPLATE_UTIL_H_ 5 #ifndef BASE_TEMPLATE_UTIL_H_
6 #define BASE_TEMPLATE_UTIL_H_ 6 #define BASE_TEMPLATE_UTIL_H_
7 #pragma once
8 7
9 #include <cstddef> // For size_t. 8 #include <cstddef> // For size_t.
10 9
11 #include "build/build_config.h" 10 #include "build/build_config.h"
12 11
13 namespace base { 12 namespace base {
14 13
15 // template definitions from tr1 14 // template definitions from tr1
16 15
17 template<class T, T v> 16 template<class T, T v>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 template <typename T> 99 template <typename T>
101 struct is_class 100 struct is_class
102 : integral_constant<bool, 101 : integral_constant<bool,
103 sizeof(internal::IsClassHelper::Test<T>(0)) == 102 sizeof(internal::IsClassHelper::Test<T>(0)) ==
104 sizeof(internal::YesType)> { 103 sizeof(internal::YesType)> {
105 }; 104 };
106 105
107 } // namespace base 106 } // namespace base
108 107
109 #endif // BASE_TEMPLATE_UTIL_H_ 108 #endif // BASE_TEMPLATE_UTIL_H_
OLDNEW
« no previous file with comments | « base/task_runner_util.h ('k') | base/test/mock_chrome_application_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698