From: Benjamin Kramer Date: Fri, 26 Nov 2010 14:36:54 +0000 (+0000) Subject: StringRefs are POD-like. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=847d2f93ca692fa627a97ba9743bc1e9b8c5cbae;p=oota-llvm.git StringRefs are POD-like. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120181 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index 75ebaf54881..364ace7e1d0 100644 --- a/include/llvm/ADT/StringRef.h +++ b/include/llvm/ADT/StringRef.h @@ -437,6 +437,10 @@ namespace llvm { /// @} + // StringRefs can be treated like a POD type. + template struct isPodLike; + template <> struct isPodLike { static const bool value = true; }; + } #endif