|
Start using <type_traits> and <utility> (C++11).
SkUtility.h and SkTLogic.h implement a number of type traits now
available through <type_traits> and <utility>. This removes SkUtility.h,
replacing it with <utility>, and moves a number of traits in
SkTLogic.h to use the std:: equivelents. This change only uses C++11
parts of the standard library; SkTLogic.h will continue to provide
C++14 and beyond for now in the skstd namespace.
The changes to SkTLogic.h are being done gradually so that safe changes
may be landed confidently, with more risky changes in the future.
Committed: https://skia.googlesource.com/skia/+/221524de3be1fc343ad328c5e99562f32b5cad9c
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -174 lines) |
Patch |
|
M |
gyp/core.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkTArray.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkTLazy.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
include/private/SkTLogic.h
|
View
|
|
5 chunks |
+49 lines, -89 lines |
0 comments
|
Download
|
|
M |
include/private/SkTemplates.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
include/private/SkUniquePtr.h
|
View
|
1
2
|
18 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
|
D |
include/private/SkUtility.h
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
M |
src/animator/SkMemberInfo.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/core/SkDraw.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/core/SkFindAndPlaceGlyph.h
|
View
|
1
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrPorterDuffXferProcessor.cpp
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFMetadata.cpp
|
View
|
1
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/utils/SkTFitsIn.h
|
View
|
1
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/CPlusPlusEleven.cpp
|
View
|
1
|
8 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
tools/BUILD.public.expected
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 27 (15 generated)
|