Changeset 2275


Ignore:
Timestamp:
Jun 23, 2010, 12:29:28 AM (11 years ago)
Author:
Peter
Message:

improve docs for compose_functors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/stl_utility.h

    r2274 r2275  
    101101     to \f$ f(g(x), h(y)) \f$
    102102
    103      F must be an adaptable binary functor
    104      G must be an adaptable unary functor
    105      H must be an adaptable unary functor
     103     - F must be an <a
     104     href="http://www.sgi.com/tech/stl/AdaptableBinaryFunction.html">
     105     AdaptableBinaryFunction</a>
     106     - G must be an <a
     107     href="http://www.sgi.com/tech/stl/AdaptableUnaryFunction.html">
     108     AdaptableUnaryFunction</a>
     109     - H must be an <a
     110     href="http://www.sgi.com/tech/stl/AdaptableUnaryFunction.html">
     111     AdaptableUnaryFunction</a>
     112     - \c G::result_type is convertible to \c F::first_argument_type
     113     - \c H::result_type is convertible to \c F::second_argument_type
     114
     115     \see compose_f_gxy and compose_f_gx
    106116   */
    107117  template<class F, class G, class H>
     
    164174     \f$ f(g(x,y)) \f$
    165175
    166      F must be an adaptable unary functor
    167      G must be an adaptable binary functor
     176     - F must be an <a
     177     href="http://www.sgi.com/tech/stl/AdaptableUnaryFunction.html">
     178     AdaptableUnaryFunction</a>
     179     - G must be an <a
     180     href="http://www.sgi.com/tech/stl/AdaptableBinaryFunction.html">
     181     AdaptableBinaryFunction</a>
     182     - \c G::result_type is convertible to \c F::argument_type
     183
     184     \see compose_f_gx_hy and compose_f_gx
    168185
    169186     \since New in yat 0.7
     
    225242     used to create a functor equivalent to \f$ f(g(x)) \f$
    226243
    227      F must be an adaptable binary functor
    228      G must be an adaptable unary functor
     244     - F must be an <a
     245     href="http://www.sgi.com/tech/stl/AdaptableBinaryFunction.html">
     246     AdaptableBinaryFunction</a>
     247     - G must be an <a
     248     href="http://www.sgi.com/tech/stl/AdaptableUnaryFunction.html">
     249     AdaptableUnaryFunction</a>
     250     - \c G::result_type is convertible to \c F::argument_type
     251
     252     \see compose_f_gx_hy and compose_f_gxy
    229253
    230254     \since New in yat 0.7
Note: See TracChangeset for help on using the changeset viewer.