2007-02-15 23:11:24 +00:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=ISO-8859-1" >
< title > Metafunctions</ title >
< link rel = "stylesheet" href = "../../../boostbook.css" type = "text/css" >
< meta name = "generator" content = "DocBook XSL Stylesheets V1.68.1" >
< link rel = "start" href = "../../../index.html" title = "Chapter 1. Fusion 2.0" >
< link rel = "up" href = "../invocation.html" title = "Invocation" >
2007-02-25 21:12:10 +00:00
< link rel = "prev" href = "functions.html" title = "Functions" >
< link rel = "next" href = "../adapters.html" title = " Adapters" >
2007-02-15 23:11:24 +00:00
</ head >
< body bgcolor = "white" text = "black" link = "#0000FF" vlink = "#840084" alink = "#0000FF" >
< table cellpadding = "2" width = "100%" >
< td valign = "top" >< img alt = "Boost C++ Libraries" width = "277" height = "86" src = "../../../../../../../boost.png" ></ td >
< td align = "center" >< a href = "../../../../../../../index.htm" > Home</ a ></ td >
< td align = "center" >< a href = "../../../../../../libraries.htm" > Libraries</ a ></ td >
< td align = "center" >< a href = "../../../../../../../people/people.htm" > People</ a ></ td >
< td align = "center" >< a href = "../../../../../../../more/faq.htm" > FAQ</ a ></ td >
< td align = "center" >< a href = "../../../../../../../more/index.htm" > More</ a ></ td >
</ table >
< hr >
< div class = "spirit-nav" >
2007-02-25 21:12:10 +00:00
< a accesskey = "p" href = "functions.html" >< img src = "../../../images/prev.png" alt = "Prev" ></ a >< a accesskey = "u" href = "../invocation.html" >< img src = "../../../images/up.png" alt = "Up" ></ a >< a accesskey = "h" href = "../../../index.html" >< img src = "../../../images/home.png" alt = "Home" ></ a >< a accesskey = "n" href = "../adapters.html" >< img src = "../../../images/next.png" alt = "Next" ></ a >
2007-02-15 23:11:24 +00:00
</ div >
< div class = "section" lang = "en" >
< div class = "titlepage" >< div >< div >< h4 class = "title" >
< a name = "fusion.functional.invocation.metafunctions" ></ a >< a href = "metafunctions.html" title = "Metafunctions" > Metafunctions</ a ></ h4 ></ div ></ div ></ div >
< div class = "toc" >< dl >
2007-02-25 21:12:10 +00:00
< dt >< span class = "section" >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke" > invoke</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_procedure" > invoke_procedure</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_function_object" > invoke_function_object</ a ></ span ></ dt >
2007-02-15 23:11:24 +00:00
</ dl ></ div >
2007-02-25 21:12:10 +00:00
< div class = "section" lang = "en" >
< div class = "titlepage" >< div >< div >< h5 class = "title" >
< a name = "fusion.functional.invocation.metafunctions.invoke" ></ a >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke" title = "invoke" > invoke</ a ></ h5 ></ div ></ div ></ div >
< a name = "fusion.functional.invocation.metafunctions.invoke.description" ></ a >< h6 >
< a name = "id1208657" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke.description" > Description</ a >
</ h6 >
< p >
Returns the result type of < a href = "functions.html#fusion.functional.invocation.functions.invoke" title = "invoke" >< code class = "computeroutput" >< span class = "identifier" > invoke</ span ></ code ></ a > .
</ p >
< p >
Empty for non-class target function types whose arity is not satisfied
by the size of the sequence.
</ p >
< a name = "fusion.functional.invocation.metafunctions.invoke.synopsis" ></ a >< h6 >
< a name = "id1208704" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke.synopsis" > Synopsis</ a >
</ h6 >
< pre class = "programlisting" >
< span class = "keyword" > namespace</ span > < span class = "identifier" > result_of</ span >
< span class = "special" > {</ span >
< span class = "keyword" > template</ span >< span class = "special" > < </ span >
< span class = "keyword" > typename</ span > < span class = "identifier" > Function</ span >< span class = "special" > ,</ span >
< span class = "keyword" > class</ span > < span class = "identifier" > Sequence</ span >
< span class = "special" > > </ span >
< span class = "keyword" > struct</ span > < span class = "identifier" > invoke</ span >
< span class = "special" > {</ span >
< span class = "keyword" > typedef</ span > < span class = "emphasis" >< em > unspecified</ em ></ span > < span class = "identifier" > type</ span >< span class = "special" > ;</ span >
< span class = "special" > };</ span >
< span class = "special" > }</ span >
</ pre >
< a name = "fusion.functional.invocation.metafunctions.invoke.see_also" ></ a >< h6 >
< a name = "id1208838" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke.see_also" > See
also</ a >
</ h6 >
< div class = "itemizedlist" >< ul type = "disc" >
< li >< a href = "functions.html#fusion.functional.invocation.functions.invoke" title = "invoke" >< code class = "computeroutput" >< span class = "identifier" > invoke</ span ></ code ></ a ></ li >
< li >< a href = "../adapters/fused.html" title = "fused" >< code class = "computeroutput" >< span class = "identifier" > fused</ span ></ code ></ a ></ li >
</ ul ></ div >
</ div >
< div class = "section" lang = "en" >
< div class = "titlepage" >< div >< div >< h5 class = "title" >
< a name = "fusion.functional.invocation.metafunctions.invoke_procedure" ></ a >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_procedure" title = "invoke_procedure" > invoke_procedure</ a ></ h5 ></ div ></ div ></ div >
< a name = "fusion.functional.invocation.metafunctions.invoke_procedure.description" ></ a >< h6 >
< a name = "id1208921" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_procedure.description" > Description</ a >
</ h6 >
< p >
Returns the result type of < a href = "functions.html#fusion.functional.invocation.functions.invoke_procedure" title = "invoke_procedure" >< code class = "computeroutput" >< span class = "identifier" > invoke_procedure</ span ></ code ></ a > .
</ p >
< p >
Empty for non-class target function types whose arity is not satisfied
by the size of the sequence.
</ p >
< a name = "fusion.functional.invocation.metafunctions.invoke_procedure.synopsis" ></ a >< h6 >
< a name = "id1208971" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_procedure.synopsis" > Synopsis</ a >
</ h6 >
< pre class = "programlisting" >
< span class = "keyword" > namespace</ span > < span class = "identifier" > result_of</ span >
< span class = "special" > {</ span >
< span class = "keyword" > template</ span >< span class = "special" > < </ span >
< span class = "keyword" > typename</ span > < span class = "identifier" > Function</ span >< span class = "special" > ,</ span >
< span class = "keyword" > class</ span > < span class = "identifier" > Sequence</ span >
< span class = "special" > > </ span >
< span class = "keyword" > struct</ span > < span class = "identifier" > invoke_procedure</ span >
< span class = "special" > {</ span >
< span class = "keyword" > typedef</ span > < span class = "emphasis" >< em > unspecified</ em ></ span > < span class = "identifier" > type</ span >< span class = "special" > ;</ span >
< span class = "special" > };</ span >
< span class = "special" > }</ span >
</ pre >
< a name = "fusion.functional.invocation.metafunctions.invoke_procedure.see_also" ></ a >< h6 >
< a name = "id1209107" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_procedure.see_also" > See
also</ a >
</ h6 >
< div class = "itemizedlist" >< ul type = "disc" >
< li >< a href = "functions.html#fusion.functional.invocation.functions.invoke_procedure" title = "invoke_procedure" >< code class = "computeroutput" >< span class = "identifier" > invoke_procedure</ span ></ code ></ a ></ li >
< li >< a href = "../adapters/fused_procedure.html" title = "fused_procedure" >< code class = "computeroutput" >< span class = "identifier" > fused_procedure</ span ></ code ></ a ></ li >
</ ul ></ div >
</ div >
< div class = "section" lang = "en" >
< div class = "titlepage" >< div >< div >< h5 class = "title" >
< a name = "fusion.functional.invocation.metafunctions.invoke_function_object" ></ a >< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_function_object" title = "invoke_function_object" > invoke_function_object</ a ></ h5 ></ div ></ div ></ div >
< a name = "fusion.functional.invocation.metafunctions.invoke_function_object.description" ></ a >< h6 >
< a name = "id1209191" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_function_object.description" > Description</ a >
</ h6 >
< p >
Returns the result type of < a href = "functions.html#fusion.functional.invocation.functions.invoke_function_object" title = "invoke_function_object" >< code class = "computeroutput" >< span class = "identifier" > invoke_function_object</ span ></ code ></ a > .
</ p >
< p >
Empty if the target function's nested < code class = "computeroutput" >< span class = "identifier" > result</ span ></ code >
class template is empty.
</ p >
< a name = "fusion.functional.invocation.metafunctions.invoke_function_object.synopsis" ></ a >< h6 >
< a name = "id1209250" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_function_object.synopsis" > Synopsis</ a >
</ h6 >
< pre class = "programlisting" >
< span class = "keyword" > namespace</ span > < span class = "identifier" > result_of</ span >
< span class = "special" > {</ span >
< span class = "keyword" > template</ span >< span class = "special" > < </ span >
< span class = "keyword" > class</ span > < span class = "identifier" > Function</ span >< span class = "special" > ,</ span >
< span class = "keyword" > class</ span > < span class = "identifier" > Sequence</ span >
< span class = "special" > > </ span >
< span class = "keyword" > struct</ span > < span class = "identifier" > invoke_function_object</ span >
< span class = "special" > {</ span >
< span class = "keyword" > typedef</ span > < span class = "emphasis" >< em > unspecified</ em ></ span > < span class = "identifier" > type</ span >< span class = "special" > ;</ span >
< span class = "special" > };</ span >
< span class = "special" > }</ span >
</ pre >
< a name = "fusion.functional.invocation.metafunctions.invoke_function_object.see_also" ></ a >< h6 >
< a name = "id1209385" ></ a >
< a href = "metafunctions.html#fusion.functional.invocation.metafunctions.invoke_function_object.see_also" > See
also</ a >
</ h6 >
< div class = "itemizedlist" >< ul type = "disc" >
< li >< a href = "functions.html#fusion.functional.invocation.functions.invoke_function_object" title = "invoke_function_object" >< code class = "computeroutput" >< span class = "identifier" > invoke_function_object</ span ></ code ></ a ></ li >
< li >< a href = "../adapters/fused_function_object.html" title = "fused_function_object" >< code class = "computeroutput" >< span class = "identifier" > fused_function_object</ span ></ code ></ a ></ li >
</ ul ></ div >
</ div >
2007-02-15 23:11:24 +00:00
</ div >
< table xmlns:rev = "http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width = "100%" >< tr >
< td align = "left" ></ td >
< td align = "right" >< small > Copyright © 2001-2005 Joel de Guzman, Dan Marsden</ small ></ td >
</ tr ></ table >
< hr >
< div class = "spirit-nav" >
2007-02-25 21:12:10 +00:00
< a accesskey = "p" href = "functions.html" >< img src = "../../../images/prev.png" alt = "Prev" ></ a >< a accesskey = "u" href = "../invocation.html" >< img src = "../../../images/up.png" alt = "Up" ></ a >< a accesskey = "h" href = "../../../index.html" >< img src = "../../../images/home.png" alt = "Home" ></ a >< a accesskey = "n" href = "../adapters.html" >< img src = "../../../images/next.png" alt = "Next" ></ a >
2007-02-15 23:11:24 +00:00
</ div >
</ body >
</ html >