Update of /cvsroot/boost/boost/boost/xpressive/detail/static
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32154/boost/xpressive/detail/static
Modified Files:
compile.hpp
Log Message:
remove if_matches and if_not_matches as redundant interfaces
Index: compile.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/compile.hpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- compile.hpp 15 Apr 2007 06:40:25 -0000 1.12
+++ compile.hpp 19 Jun 2007 06:13:25 -0000 1.13
@@ -64,7 +64,7 @@
///////////////////////////////////////////////////////////////////////////////
// static_compile_impl1
template<typename Xpr, typename BidiIter>
- typename proto::if_not_matches<Xpr, XpressiveLocaleModifier>::type
+ typename disable_if<proto::matches<Xpr, XpressiveLocaleModifier> >::type
static_compile_impl1(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> >
const &impl)
{
// use default traits
@@ -77,7 +77,7 @@
///////////////////////////////////////////////////////////////////////////////
// static_compile_impl1
template<typename Xpr, typename BidiIter>
- typename proto::if_matches<Xpr, XpressiveLocaleModifier>::type
+ typename enable_if<proto::matches<Xpr, XpressiveLocaleModifier> >::type
static_compile_impl1(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> >
const &impl)
{
// use specified traits
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs