ReactOS  0.4.15-dev-1177-g6cb3b62
_Stl_aligned_buffer< T > Union Template Reference

#include <aligned_buffer.h>

Collaboration diagram for _Stl_aligned_buffer< T >:

Public Member Functions

Toperator & ()
 
T constoperator & () const
 

Public Attributes

char buf [sizeof(T)]
 
struct {
   double   a
 
   double   b
 
padding
 

Detailed Description

template<class T>
union _Stl_aligned_buffer< T >

Definition at line 7 of file aligned_buffer.h.

Member Function Documentation

◆ operator &() [1/2]

template<class T>
T* _Stl_aligned_buffer< T >::operator & ( )
inline

Definition at line 11 of file aligned_buffer.h.

11  {
12  return __REINTERPRET_CAST(T*, this);
13  }
#define T
Definition: mbstring.h:31
#define __REINTERPRET_CAST(__x, __y)
Definition: features.h:586

◆ operator &() [2/2]

template<class T>
T const* _Stl_aligned_buffer< T >::operator & ( ) const
inline

Definition at line 15 of file aligned_buffer.h.

15  {
16  return __REINTERPRET_CAST(T const*, this);
17  }
#define T
Definition: mbstring.h:31
#define __REINTERPRET_CAST(__x, __y)
Definition: features.h:586

Member Data Documentation

◆ a

template<class T>
double _Stl_aligned_buffer< T >::a

Definition at line 9 of file aligned_buffer.h.

◆ b

template<class T>
double _Stl_aligned_buffer< T >::b

Definition at line 9 of file aligned_buffer.h.

◆ buf

template<class T>
char _Stl_aligned_buffer< T >::buf[sizeof(T)]

Definition at line 8 of file aligned_buffer.h.

◆ padding

struct { ... } _Stl_aligned_buffer< T >::padding

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