Update of /cvsroot/boost/boost/boost/fusion/functional/adapter/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30383/adapter/detail
Modified Files:
access.hpp
Log Message:
fixes const-correctness
Index: access.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/fusion/functional/adapter/detail/access.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- access.hpp 14 Jul 2007 20:21:54 -0000 1.3
+++ access.hpp 15 Jul 2007 16:25:11 -0000 1.4
@@ -26,11 +26,15 @@
template <typename T> struct gref<T&> { typedef T & type; };
template <typename T> struct gref<T const> { typedef T const& type; };
- // remove_const< remove_reference<_> >
- template <typename T> struct uncr { typedef T type; };
- template <typename T> struct uncr<T const> { typedef T type; };
- template <typename T> struct uncr<T &> { typedef T type; };
- template <typename T> struct uncr<T const &> { typedef T type; };
+ // appropriately qualified target function in const context
+ template <typename T> struct qf_c { typedef T const type; };
+ template <typename T> struct qf_c<T const> { typedef T const type; };
+ template <typename T> struct qf_c<T &> { typedef T type; };
+
+ // appropriately qualified target function in non-const context
+ template <typename T> struct qf { typedef T type; };
+ template <typename T> struct qf<T const> { typedef T const type; };
+ template <typename T> struct qf<T &> { typedef T type; };
}}}
#endif
-------------------------------------------------------------------------
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