Update of /cvsroot/boost/boost/boost/xpressive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4470/boost/xpressive
Modified Files:
regex_actions.hpp
Log Message:
as_set and as_list_set transforms, and set complement
Index: regex_actions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_actions.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- regex_actions.hpp 5 Apr 2007 01:25:40 -0000 1.14
+++ regex_actions.hpp 5 Apr 2007 20:49:10 -0000 1.15
@@ -134,7 +134,7 @@
template<typename This, typename Sequence>
struct result<This(Sequence &)>
{
- typedef
+ typedef
typename mpl::if_<
is_const<Sequence>
, typename Sequence::const_reference
@@ -158,7 +158,7 @@
template<typename This, typename Sequence>
struct result<This(Sequence &)>
{
- typedef
+ typedef
typename mpl::if_<
is_const<Sequence>
, typename Sequence::const_reference
@@ -182,7 +182,7 @@
template<typename This, typename Sequence>
struct result<This(Sequence &)>
{
- typedef
+ typedef
typename mpl::if_<
is_const<Sequence>
, typename Sequence::value_type const &
@@ -343,17 +343,17 @@
: proto::extends<typename proto::terminal<T>::type, value<T> >
{
typedef proto::extends<typename proto::terminal<T>::type, value<T> >
base_type;
-
+
value()
: base_type()
{}
-
+
explicit value(T const &t)
: base_type(base_type::type::make(t))
{}
-
+
using base_type::operator =;
-
+
T &get()
{
return proto::arg(*this);
@@ -370,11 +370,11 @@
: proto::extends<typename proto::terminal<reference_wrapper<T> >::type,
reference<T> >
{
typedef proto::extends<typename proto::terminal<reference_wrapper<T>
>::type, reference<T> > base_type;
-
+
explicit reference(T &t)
: base_type(base_type::type::make(boost::ref(t)))
{}
-
+
using base_type::operator =;
T &get() const
@@ -394,12 +394,12 @@
, proto::extends<typename proto::terminal<reference_wrapper<T> >::type,
local<T> >
{
typedef proto::extends<typename proto::terminal<reference_wrapper<T>
>::type, local<T> > base_type;
-
+
local()
: detail::value_wrapper<T>()
,
base_type(base_type::type::make(boost::ref(detail::value_wrapper<T>::value)))
{}
-
+
explicit local(T const &t)
: detail::value_wrapper<T>(t)
,
base_type(base_type::type::make(boost::ref(detail::value_wrapper<T>::value)))
@@ -410,16 +410,16 @@
: detail::value_wrapper<T>()
, base_type(that)
{}
-
+
// copies refer to the value in that, not this!
local &operator =(local const &that)
{
*static_cast<base_type *>(this) = *static_cast<base_type const
*>(&that);
return *this;
}
-
+
using base_type::operator =;
-
+
T &get()
{
return proto::arg(*this);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs