xpressive/test/multiple_defs2.cpp
2014-01-11 00:36:40 -08:00

18 lines
462 B
C++

///////////////////////////////////////////////////////////////////////////////
// multiple_defs2.cpp
//
// Copyright 2008 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/xpressive/xpressive.hpp>
int f()
{
using namespace boost::xpressive;
sregex srx = +_;
sregex drx = sregex::compile(".+");
return 0;
}