mirror of
https://github.com/boostorg/regex.git
synced 2025-07-14 04:46:36 +02:00
add streaming for syntax_element_type to suppress warnings
[SVN r7846]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user