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

Get the alignment of a type. More...

Static Public Attributes

static const std::size_t value = (sizeof(imp) - sizeof(Tp))
 The integral alignment requirement of Tp.

Detailed Description

template<typename Tp>
struct cilk::internal::align_of< Tp >

Get the alignment of a type.

For example:

align_of<double>::value == 8
Template Parameters
TpThe type whose alignment is to be computed.
The value member of an instantiation of this class template will hold the integral alignment requirement of Tp.
Tp shall be a complete type.

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