Intel® Cilk™ Plus Include Directory  Revision 4358
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
metaprogramming.h File Reference

Defines metaprogramming utility classes used in the Intel(R) Cilk(TM) Plus library. More...

Go to the source code of this file.

Classes

class  cilk::internal::class_is_empty< Class >
 Test if a class is empty. More...
 
struct  cilk::internal::align_of< Tp >
 Get the alignment of a type. More...
 
struct  cilk::internal::aligned_storage< Size, Alignment >
 A class containing raw bytes with a specified alignment and size. More...
 
class  cilk::internal::storage_for_object< Type >
 A buffer of uninitialized bytes with the same size and alignment as a specified type. More...
 
struct  cilk::internal::binary_functor< F >
 Get the functor class corresponding to a binary function type. More...
 
struct  cilk::internal::binary_functor< R(A, B)>
 Get the functor class corresponding to a binary function type. More...
 
struct  cilk::internal::binary_functor< R(*)(A, B)>
 Get the functor class corresponding to a binary function type. More...
 
class  cilk::internal::typed_indirect_binary_function< F, A1, A2, R, Functor, FunctorIsEmpty >
 Indirect binary function class with specified types. More...
 
class  cilk::internal::typed_indirect_binary_function< F, A1, A2, R, Functor, true >
 Constructor discards the pointer to a stateless functor class. More...
 
class  cilk::internal::indirect_binary_function< F, Functor >
 Indirect binary function class with inferred types. More...
 
struct  cilk::internal::condition< Cond, IfTrue, IfFalse >
 Choose a type based on a boolean constant. More...
 
struct  cilk::internal::condition< false, IfTrue, IfFalse >
 Choose a type based on a boolean constant. More...
 

Namespaces

 cilk
 Namespace for all Intel Cilk Plus definitions that can be included in user code.
 
 cilk::internal
 Namespace for definitions re-used in other Intel Cilk Plus definitions.
 

Macros

#define __CILKRTS_STATIC_ASSERT(Cond, Msg)
 Compile-time assertion. More...
 

Functions

template<typename T >
void cilk::aligned_delete (const T *ptr)
 Deallocate an aligned data structure on the heap. More...
 
template<typename T >
T * cilk::aligned_new ()
 Allocate an aligned data structure on the heap. More...
 
template<typename T , typename T1 >
T * cilk::aligned_new (const T1 &x1)
 Allocate an aligned data structure on the heap. More...
 
template<typename T , typename T1 , typename T2 >
T * cilk::aligned_new (const T1 &x1, const T2 &x2)
 Allocate an aligned data structure on the heap. More...
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * cilk::aligned_new (const T1 &x1, const T2 &x2, const T3 &x3)
 Allocate an aligned data structure on the heap. More...
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * cilk::aligned_new (const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4)
 Allocate an aligned data structure on the heap. More...
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * cilk::aligned_new (const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4, const T5 &x5)
 Allocate an aligned data structure on the heap. More...
 

Detailed Description

Defines metaprogramming utility classes used in the Intel(R) Cilk(TM) Plus library.

© 2015 Intel Corporation. All rights reserved. | Intel and Cilk are trademarks of Intel Corporation in the U.S. and/or other countries