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

Issue 7472029: Introduce a poor man's version of STL's bitset. (Closed)

Created:
9 years, 5 months ago by Sven Panne
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Introduce a poor man's version of STL's bitset. Used in a separate upcoming patch... Committed: http://code.google.com/p/v8/source/detail?r=8715

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M src/utils.h View 2 chunks +25 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Sven Panne
A small & independent patch, just to keep the upcoming ToBoolean patch manageable.
9 years, 5 months ago (2011-07-21 09:10:31 UTC) #1
danno
lgtm
9 years, 5 months ago (2011-07-21 11:51:19 UTC) #2
Vitaly Repeshko
http://codereview.chromium.org/7472029/diff/1/src/utils.h File src/utils.h (right): http://codereview.chromium.org/7472029/diff/1/src/utils.h#newcode33 src/utils.h:33: #include <climits> We include old school standard library headers ...
9 years, 5 months ago (2011-07-21 12:56:18 UTC) #3
Sven Panne
9 years, 5 months ago (2011-07-21 13:07:13 UTC) #4
http://codereview.chromium.org/7472029/diff/1/src/utils.h
File src/utils.h (right):

http://codereview.chromium.org/7472029/diff/1/src/utils.h#newcode33
src/utils.h:33: #include <climits>
On 2011/07/21 12:56:18, Vitaly Repeshko wrote:
> We include old school standard library headers without the "c" prefix (and the
implied std:: namespace).

That's not completely true, cstdio and cstdarg are already used.

> Use <limits.h> to be consistent.

To be consistent with the language used (C++), climits looks "more correct"
IMHO. ;-)

Powered by Google App Engine
This is Rietveld 408576698