Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-05-19 02:30:19


Author: dgregor
Date: 2008-05-19 02:30:19 EDT (Mon, 19 May 2008)
New Revision: 45530
URL: http://svn.boost.org/trac/boost/changeset/45530

Log:
Re-conceptualize mem_fn
Text files modified:
   sandbox/committee/concepts/stdlib/clib-utilities.tex | 20 ++++++++++----------
   1 files changed, 10 insertions(+), 10 deletions(-)

Modified: sandbox/committee/concepts/stdlib/clib-utilities.tex
==============================================================================
--- sandbox/committee/concepts/stdlib/clib-utilities.tex (original)
+++ sandbox/committee/concepts/stdlib/clib-utilities.tex 2008-05-19 02:30:19 EDT (Mon, 19 May 2008)
@@ -1640,14 +1640,14 @@
     const_mem_fun1_ref_t<S,T,A> mem_fun_ref(S (T::*f)(A) const);
 
   // \marktr{}\ref{func.memfn}, member function adaptors:
- template<@\changedConcepts{class}{ObjectType}@ R, class T> @\textit{unspecified}@ mem_fn(R T::*);
- @\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+ template<@\changedConcepts{class}{Returnable}@ R, class T> @\textit{unspecified}@ mem_fn(R T::*);
+ @\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
     @\addedConcepts{\textit{unspecified} mem_fn(R (T::*)(Args...) pm);}@
- @\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+ @\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
     @\addedConcepts{\textit{unspecified} mem_fn(R (T::* const)(Args...) pm);}@
- @\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+ @\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
     @\addedConcepts{\textit{unspecified} mem_fn(R (T::* volatile)(Args...) pm);}@
- @\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+ @\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
     @\addedConcepts{\textit{unspecified} mem_fn(R (T::* const volatile)(Args...) pm);}@
 
   // \marktr{}\ref{func.wrap} polymorphic function wrappers:
@@ -2424,14 +2424,14 @@
 
 \index{mem_fn@\tcode{mem_fn}}%
 \begin{itemdecl}
-template<@\changedConcepts{class}{ObjectType}@ R, class T> @\textit{unspecified}@ mem_fn(R T::* pm);
-@\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+template<@\changedConcepts{class}{Returnable}@ R, class T> @\textit{unspecified}@ mem_fn(R T::* pm);
+@\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
   @\addedConcepts{\textit{unspecified} mem_fn(R (T::*)(Args...) pm);}@
-@\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+@\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
   @\addedConcepts{\textit{unspecified} mem_fn(R (T::* const)(Args...) pm);}@
-@\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+@\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
   @\addedConcepts{\textit{unspecified} mem_fn(R (T::* volatile)(Args...) pm);}@
-@\addedConcepts{template<MoveConstructible R, class T, MoveConstructible... Args>}@
+@\addedConcepts{template<Returnable R, class T, CopyConstructible... Args>}@
   @\addedConcepts{\textit{unspecified} mem_fn(R (T::* const volatile)(Args...) pm);}@
 \end{itemdecl}
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk