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

Side by Side Diff: third_party/cld/base/template_util.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2009 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 // Template metaprogramming utility functions. 5 // Template metaprogramming utility functions.
6 // 6 //
7 // This code is compiled directly on many platforms, including client 7 // This code is compiled directly on many platforms, including client
8 // platforms like Windows, Mac, and embedded systems. Before making 8 // platforms like Windows, Mac, and embedded systems. Before making
9 // any changes here, make sure that you're not breaking any platforms. 9 // any changes here, make sure that you're not breaking any platforms.
10 // 10 //
11 // The names choosen here reflect those used in tr1 and the boost::mpl 11 // The names choosen here reflect those used in tr1 and the boost::mpl
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // or_ is a template || operator. 87 // or_ is a template || operator.
88 // or_<A, B>::value evaluates "A::value || B::value". 88 // or_<A, B>::value evaluates "A::value || B::value".
89 template<typename A, typename B> 89 template<typename A, typename B>
90 struct or_ : public integral_constant<bool, (A::value || B::value)> { 90 struct or_ : public integral_constant<bool, (A::value || B::value)> {
91 }; 91 };
92 92
93 93
94 } // Close namespace base 94 } // Close namespace base
95 95
96 #endif // BASE_TEMPLATE_UTIL_H_ 96 #endif // BASE_TEMPLATE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698