Define FUSE_MAKE_ALIGNED_OPERATOR_NEW
Defined in File macros.hpp
Define Documentation
-
FUSE_MAKE_ALIGNED_OPERATOR_NEW()
Creates a custom new() implementation that ensures memory is allocated with proper byte alignment. This should be added to the public section of classes or structs that contain fixed-sized vectorable Eigen objects.
For examples of vectorable types, see: https://eigen.tuxfamily.org/dox- devel/group__TopicFixedSizeVectorizable.html
This function is called internally by the SMART_PTR_DEFINITIONS_WITH_EIGEN below. You only need to call this function manually if the class or struct is not adding the smart pointer definitions.