summaryrefslogtreecommitdiff
path: root/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
commitd8bc09b616ef60b71cd4440c5df92ab35b6eaba8 (patch)
tree7d0d386e37f3333d903bde37326138317cac7b36 /include/cstddef
parented9b2aa21db6cc9e538f0da0759789e8065a68f4 (diff)
[rand.dist.norm.f]
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/cstddef')
-rw-r--r--include/cstddef8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cstddef b/include/cstddef
index c939f0ea9..11d07a2ec 100644
--- a/include/cstddef
+++ b/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;}