diff options
author | Howard Hinnant <hhinnant@apple.com> | 2010-05-18 17:32:30 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2010-05-18 17:32:30 +0000 |
commit | d8bc09b616ef60b71cd4440c5df92ab35b6eaba8 (patch) | |
tree | 7d0d386e37f3333d903bde37326138317cac7b36 /include/cstddef | |
parent | ed9b2aa21db6cc9e538f0da0759789e8065a68f4 (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/cstddef | 8 |
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;} |