summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cstddef
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-05-18 17:32:30 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-05-18 17:32:30 +0000
commite31e36f9109a77fba5beffceedfa1f1172c669b6 (patch)
tree522eb1f7d7e24f05f653ea966a086dd62acde2af /libcxx/include/cstddef
parent4843178d6bd2083b88908ada581188c2b7aa226a (diff)
downloadbcm5719-llvm-e31e36f9109a77fba5beffceedfa1f1172c669b6.tar.gz
bcm5719-llvm-e31e36f9109a77fba5beffceedfa1f1172c669b6.zip
[rand.dist.norm.f]
llvm-svn: 104035
Diffstat (limited to 'libcxx/include/cstddef')
-rw-r--r--libcxx/include/cstddef8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef
index c939f0ea915..11d07a2ec29 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -57,13 +57,13 @@ struct nullptr_t
_LIBCPP_ALWAYS_INLINE operator int __nat::*() const {return 0;}
- template <class T>
+ template <class _Tp>
_LIBCPP_ALWAYS_INLINE
- operator T* () const {return 0;}
+ operator _Tp* () const {return 0;}
- template <class T, class U>
+ template <class _Tp, class _Up>
_LIBCPP_ALWAYS_INLINE
- operator T U::* () const {return 0;}
+ operator _Tp _Up::* () const {return 0;}
friend _LIBCPP_ALWAYS_INLINE bool operator==(nullptr_t, nullptr_t) {return true;}
friend _LIBCPP_ALWAYS_INLINE bool operator!=(nullptr_t, nullptr_t) {return false;}
OpenPOWER on IntegriCloud