forked from boostorg/unordered
Use pre-review copy of unordered for trunk.
[SVN r42183]
This commit is contained in:
1 parent
3f2f75faf6
commit
56f91ea407
26 files changed
+508
-1164
No files matched your search
@@ -42,9 +42,6 @@ namespace boost {
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
template <class T>
|
||||
inline void reset(T& x) { x = T(); }
|
||||
|
||||
template <class Ptr>
|
||||
inline Ptr null_ptr() { return Ptr(); }
|
||||
#else
|
||||
template <class T>
|
||||
inline void reset_impl(T& x, ...) { x = T(); }
|
||||
@@ -52,9 +49,6 @@ namespace boost {
|
||||
inline void reset_impl(T*& x, int) { x = 0; }
|
||||
template <class T>
|
||||
inline void reset(T& x) { reset_impl(x); }
|
||||
|
||||
template <class Ptr>
|
||||
inline Ptr null_ptr() { Ptr x; reset(x); return x; }
|
||||
#endif
|
||||
|
||||
// Work around for Microsoft's ETI bug.
|
||||
|
||||
Reference in new issue
Block a user