Commit d872e4aa by Jonathan Wakely Committed by Jonathan Wakely

hashtable_policy.h (_Hashtable_ebo_helper): Fix comment.

	* include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
	comment.
	* include/std/mutex (__recursive_mutex_base): Likewise.

From-SVN: r198368
parent fe807059
2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com> 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
comment.
* include/std/mutex (__recursive_mutex_base): Likewise.
2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/51365 PR libstdc++/51365
* include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
implement EBO safely. implement EBO safely.
......
...@@ -844,8 +844,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -844,8 +844,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** /**
* Primary class template _Hashtable_ebo_helper. * Primary class template _Hashtable_ebo_helper.
* *
* Helper class using EBO when it is not forbidden, type is not * Helper class using EBO when it is not forbidden (the type is not
* final, and when it worth it, type is empty. * final) and when it is worth it (the type is empty.)
*/ */
template<int _Nm, typename _Tp, template<int _Nm, typename _Tp,
bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)> bool __use_ebo = !__is_final(_Tp) && __is_empty(_Tp)>
......
...@@ -78,7 +78,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -78,7 +78,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__mutex_base& operator=(const __mutex_base&) = delete; __mutex_base& operator=(const __mutex_base&) = delete;
}; };
// Common base class for std::recursive_mutex and std::timed_recursive_mutex // Common base class for std::recursive_mutex and std::recursive_timed_mutex
class __recursive_mutex_base class __recursive_mutex_base
{ {
protected: protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment