shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make nullptr_t specializations inline.

2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
	nullptr_t specializations inline.

From-SVN: r160328
This commit is contained in:
Jonathan Wakely 2010-06-05 18:35:53 +00:00 committed by Jonathan Wakely
parent 0fc555fbd3
commit 3b1420846c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
nullptr_t specializations inline.
2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
* doc/xml/manual/status_cxx200x.xml: Update.

View File

@ -109,15 +109,15 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
};
template<>
void
inline void
_Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() { }
template<>
void
inline void
_Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() { }
template<>
void
inline void
_Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() { }
// Support for custom deleter and/or allocator