Intel® Cilk™ Plus Include Directory  Revision 4358
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
cilk::internal::binary_functor< F > Struct Template Reference

Get the functor class corresponding to a binary function type. More...

Public Types

typedef F type
 The binary functor class equivalent to F.
 

Detailed Description

template<typename F>
struct cilk::internal::binary_functor< F >

Get the functor class corresponding to a binary function type.

The binary_functor template class can be instantiated with a binary functor class or with a real binary function, and will yield an equivalent binary functor class in either case.

Template Parameters
FA binary functor class, a binary function type, or a pointer to binary function type.
Returns
binary_functor<F>::type will be the same as F if F is a class. It will be a std::pointer_to_binary_function wrapper if F is a binary function or binary function pointer type. (It will not necessarily be an Adaptable Binary Function class, since F might be a non-adaptable binary functor class.)

The documentation for this struct was generated from the following file:
© 2015 Intel Corporation. All rights reserved. | Intel and Cilk are trademarks of Intel Corporation in the U.S. and/or other countries