cds  1.3.0
Public Types
cds::details::align_as< T, AlignAs > Struct Template Reference

#include <cds/details/aligned_type.h>

Public Types

typedef aligned_type< T,
alignof(AlignAs)>::type 
type
 Result of meta-algo: type T aligned like type AlignAs.
 

Detailed Description

template<typename T, typename AlignAs>
struct cds::details::align_as< T, AlignAs >

Alignment by example

This meta-algo is similar to aligned_type <T, alignof(AlignAs)>.

For example, the following code

typedef typename cds::details::align_as<int, double>::type aligned_int ;

declares type aligned_int which is int aligned like double.

See also: aligned_type


The documentation for this struct was generated from the following file:

cds 1.3.0 Developed by Maxim Khiszinsky aka khizmax 2007 - 2012
Autogenerated Sat Dec 29 2012 19:12:33 by Doxygen 1.8.3