forked from boostorg/regex
add streaming of syntax_element_type to suppress warnings
[SVN r7847]
This commit is contained in:
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include <boost/re_detail/regex_config.hpp>
|
#include <boost/re_detail/regex_config.hpp>
|
||||||
#include <boost/re_detail/regex_raw_buffer.hpp>
|
#include <boost/re_detail/regex_raw_buffer.hpp>
|
||||||
|
#include <boost/regex.hpp>
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
#include <crtdbg.h>
|
#include <crtdbg.h>
|
||||||
@ -30,6 +32,14 @@
|
|||||||
|
|
||||||
#ifdef BOOST_RE_DEBUG
|
#ifdef BOOST_RE_DEBUG
|
||||||
|
|
||||||
|
namespace boost { namespace re_detail {
|
||||||
|
ostream& operator<<(ostream& s, syntax_element_type x)
|
||||||
|
{
|
||||||
|
return s << static_cast<unsigned long>(x);
|
||||||
|
}
|
||||||
|
}} // namespace boost::re_detail
|
||||||
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
char b1[32] = {0,};
|
char b1[32] = {0,};
|
||||||
|
Reference in New Issue
Block a user