diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2014-01-29 19:30:27 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2014-01-29 19:30:27 +0000 |
| commit | a5b2dbc259e289ea23fe9aebb34eba2c1dc7fefb (patch) | |
| tree | 5812a629bd48b0968dee7411809c6a6a19680390 /include/bitset | |
| parent | 1c9014238e909c768bf84564733b5441d5c9ea2b (diff) | |
Notes
Diffstat (limited to 'include/bitset')
| -rw-r--r-- | include/bitset | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/bitset b/include/bitset index dd9be4fcb87b..4cc7dbdaef95 100644 --- a/include/bitset +++ b/include/bitset @@ -632,11 +632,11 @@ __bitset<0, 0>::__bitset(unsigned long long) _NOEXCEPT { } -template <size_t _Size> class _LIBCPP_TYPE_VIS bitset; -template <size_t _Size> struct _LIBCPP_TYPE_VIS hash<bitset<_Size> >; +template <size_t _Size> class _LIBCPP_TYPE_VIS_ONLY bitset; +template <size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY hash<bitset<_Size> >; template <size_t _Size> -class _LIBCPP_TYPE_VIS bitset +class _LIBCPP_TYPE_VIS_ONLY bitset : private __bitset<_Size == 0 ? 0 : (_Size - 1) / (sizeof(size_t) * CHAR_BIT) + 1, _Size> { public: @@ -1060,7 +1060,7 @@ operator^(const bitset<_Size>& __x, const bitset<_Size>& __y) _NOEXCEPT } template <size_t _Size> -struct _LIBCPP_TYPE_VIS hash<bitset<_Size> > +struct _LIBCPP_TYPE_VIS_ONLY hash<bitset<_Size> > : public unary_function<bitset<_Size>, size_t> { _LIBCPP_INLINE_VISIBILITY |
