PhoenixHardware  0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_alignement_type_impl.h File Reference
+ Include dependency graph for phoenix_alignement_type_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T>
size_t phoenix_alignement_in_bytes ()
 Get the alignement in bytes by respect to the type.
 
template<typename T>
size_t phoenix_alignement_type ()
 Get the alignement by respect to the type.
 

Function Documentation

◆ phoenix_alignement_in_bytes()

template<typename T>
size_t phoenix_alignement_in_bytes ( )

Get the alignement in bytes by respect to the type.

Returns
alignement in bytes by respect to the type

Definition at line 24 of file phoenix_alignement_type_impl.h.

24 {
25 return 0lu;
26}

Referenced by phoenix_checkIsAligned(), phoenix_newAlignedTab(), and phoenix_template_alloc().

+ Here is the caller graph for this function:

◆ phoenix_alignement_type()

template<typename T>
size_t phoenix_alignement_type ( )

Get the alignement by respect to the type.

Returns
alignement by respect to the type

Definition at line 16 of file phoenix_alignement_type_impl.h.

16 {
17 return 0lu;
18}

Referenced by phoenix_assume_aligned(), phoenix_assume_aligned(), and phoenix_getPadding().

+ Here is the caller graph for this function: