Update of /cvsroot/boost/boost/boost/xpressive/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17591/detail
Modified Files:
detail_fwd.hpp
Log Message:
rename proto::op to proto::functional, work toward better support in xpressive
for non-char data
Index: detail_fwd.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/detail_fwd.hpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- detail_fwd.hpp 7 May 2007 04:41:25 -0000 1.24
+++ detail_fwd.hpp 24 May 2007 23:25:40 -0000 1.25
@@ -14,6 +14,8 @@
#endif
#include <map>
+#include <string>
+#include <vector>
#include <climits> // for INT_MAX
#include <typeinfo>
#include <boost/mpl/bool.hpp>
@@ -361,6 +363,26 @@
template<typename BidiIter>
void make_optional(quant_spec const &spec, sequence<BidiIter> &seq, int
mark_nbr);
+ template<typename Char>
+ struct string_type
+ {
+ typedef std::vector<Char> type;
+ };
+
+ template<>
+ struct string_type<char>
+ {
+ typedef std::string type;
+ };
+
+ #ifndef BOOST_XPRESSIVE_NO_WREGEX
+ template<>
+ struct string_type<wchar_t>
+ {
+ typedef std::wstring type;
+ };
+ #endif
+
}}} // namespace boost::xpressive::detail
/// INTERNAL ONLY
-------------------------------------------------------------------------
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