proxsuite 0.7.1
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::mem::nb::bit_cast< To > Struct Template Reference

#include <proxsuite/linalg/veg/memory/placement.hpp>

Public Member Functions

 VEG_TEMPLATE (typename From, requires((VEG_CONCEPT(trivially_copyable< From >) &&VEG_CONCEPT(trivially_copyable< To >) &&(sizeof(From)==sizeof(To)))), VEG_INLINE VEG_BITCAST_CONSTEXPR auto operator(),(from, From const &)) const VEG_NOEXCEPT -> To
 

Detailed Description

template<typename To>
struct proxsuite::linalg::veg::mem::nb::bit_cast< To >

Definition at line 173 of file placement.hpp.

Member Function Documentation

◆ VEG_TEMPLATE()

template<typename To >
proxsuite::linalg::veg::mem::nb::bit_cast< To >::VEG_TEMPLATE ( typename From ,
requires((VEG_CONCEPT(trivially_copyable< From >) && VEG_CONCEPT(trivially_copyable< To >) &&(sizeof(From)==sizeof(To)))) ,
VEG_INLINE VEG_BITCAST_CONSTEXPR auto operator(),
(from, From const &)  ) const -> To
inline

Definition at line 175 of file placement.hpp.


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