Fixed messed up c_regex_traits from previous commit, fixed Koenig lookup bug caused by presence of boost::re_detail::destroy

[SVN r11249]
This commit is contained in:
John Maddock
2001-09-25 11:48:21 +00:00
parent 007c0da3b2
commit 4922ae784f
9 changed files with 61 additions and 69 deletions

View File

@ -523,7 +523,7 @@ namespace std{
/*****************************************************************************
*
* helper functions construct/destroy:
* helper functions pointer_construct/pointer_destroy:
*
****************************************************************************/
@ -531,11 +531,11 @@ namespace std{
namespace boost{ namespace re_detail{
template <class T>
inline void destroy(T* p)
inline void pointer_destroy(T* p)
{ p->~T(); }
template <class T>
inline void construct(T* p, const T& t)
inline void pointer_construct(T* p, const T& t)
{ new (p) T(t); }
}} // namespaces