add streaming for syntax_element_type to suppress warnings

[SVN r7846]
This commit is contained in:
Dave Abrahams
2000-09-26 15:47:45 +00:00
parent 58a5836642
commit 116efaa69a

View File

@ -30,6 +30,10 @@
#include <boost/cregex.hpp>
#ifdef BOOST_RE_DEBUG
# include <iosfwd>
#endif
#ifdef __cplusplus
// what follows is all C++ don't include in C builds!!
@ -193,6 +197,11 @@ enum syntax_element_type
syntax_element_restart_continue = syntax_element_soft_buffer_end + 1
};
#ifdef BOOST_RE_DEBUG
// dwa 09/26/00 - This is needed to suppress warnings about an ambiguous conversion
ostream& operator<<(ostream&, syntax_element_type);
#endif
union offset_type
{
re_syntax_base* p;