|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-09-13 19:04:11
*** c:/DOCUME~1/DAVIDA~1/LOCALS~1/Temp/jm_cfg.hpp Wed Sep 13 20:03:10 2000
--- c:/DOCUME~1/DAVIDA~1/LOCALS~1/Temp/jm_cfg.hpp300f3C Wed Sep 13 20:03:10
2000
***************
*** 403,409 ****
#define BOOST_RE_ALGO_INCLUDED
! #define BOOST_RE_DISTANCE(i, j, n) do { n = 0; std::distance(i, j,
n); } while(0)
#define BOOST_RE_OUTPUT_ITERATOR(T, D) std::output_iterator
#define BOOST_RE_INPUT_ITERATOR(T, D) std::input_iterator<T, D>
#define BOOST_RE_FWD_ITERATOR(T, D) std::forward_iterator<T, D>
--- 403,409 ----
#define BOOST_RE_ALGO_INCLUDED
! #define BOOST_RE_DISTANCE(i, j, n) std::distance(i, j, n)
#define BOOST_RE_OUTPUT_ITERATOR(T, D) std::output_iterator
#define BOOST_RE_INPUT_ITERATOR(T, D) std::input_iterator<T, D>
#define BOOST_RE_FWD_ITERATOR(T, D) std::forward_iterator<T, D>
***************
*** 726,742 ****
inline void BOOST_RE_CALL jm_destroy(T* t)
{
t->~T();
- (void)t; // suppress incorrect MSVC compiler warning
}
! // dwa 9/13/00 - remove unused argument names to suppress compiler
warnings
! inline void BOOST_RE_CALL jm_destroy(char*){}
! inline void BOOST_RE_CALL jm_destroy(short*){}
! inline void BOOST_RE_CALL jm_destroy(unsigned short*){}
! inline void BOOST_RE_CALL jm_destroy(int*){}
! inline void BOOST_RE_CALL jm_destroy(unsigned int*){}
! inline void BOOST_RE_CALL jm_destroy(long*){}
! inline void BOOST_RE_CALL jm_destroy(unsigned long*){}
template <class T>
--- 726,740 ----
inline void BOOST_RE_CALL jm_destroy(T* t)
{
t->~T();
}
! inline void BOOST_RE_CALL jm_destroy(char* t){}
! inline void BOOST_RE_CALL jm_destroy(short* t){}
! inline void BOOST_RE_CALL jm_destroy(unsigned short* t){}
! inline void BOOST_RE_CALL jm_destroy(int* t){}
! inline void BOOST_RE_CALL jm_destroy(unsigned int* t){}
! inline void BOOST_RE_CALL jm_destroy(long* t){}
! inline void BOOST_RE_CALL jm_destroy(unsigned long* t){}
template <class T>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk