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

Unified Diff: include/private/SkTemplates.h

Issue 1309523003: Remove SK_OFFSETOF from SkTypes, clean up offsetof usage. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Speling Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/private/SkTLogic.h ('k') | include/svg/parser/SkSVGAttribute.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkTemplates.h
diff --git a/include/private/SkTemplates.h b/include/private/SkTemplates.h
index 17dcd596334bbc0f137c22623eae9866faa93af7..afab0ef207233a437372c718d3bd99d430518326 100644
--- a/include/private/SkTemplates.h
+++ b/include/private/SkTemplates.h
@@ -43,6 +43,8 @@ template <typename T> inline T&& forward(remove_reference_t<T>&& t) /*noexcept*/
return static_cast<T&&>(t);
}
+template <typename T> add_rvalue_reference_t<T> declval();
+
} // namespace skstd
///@{
« no previous file with comments | « include/private/SkTLogic.h ('k') | include/svg/parser/SkSVGAttribute.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698