Drake
Drake C++ Documentation
AlignedStorage< T > Struct Template Reference

Detailed Description

template<typename T>
struct drake::test::AlignedStorage< T >

Helper struct for the below function.

Contains uninitialized storage suitable for storing an object of type T.

#include <drake/common/test_utilities/is_memcpy_movable.h>

Public Member Functions

T * get_mutable ()
 

Public Attributes

std::byte storage [sizeof(T)]
 

Member Function Documentation

◆ get_mutable()

T* get_mutable ( )

Member Data Documentation

◆ storage

std::byte storage[sizeof(T)]

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