Blender V5.3
blender::BitwiseNotEnumValue< T > Struct Template Reference

#include <BLI_enum_flags.hh>

Public Member Functions

 operator uint64_t () const

Public Attributes

uint64_t value

Detailed Description

template<typename T>
struct blender::BitwiseNotEnumValue< T >

Used below, to represent a ~enum_value in a way that is enum type safe and avoids UBSAN warnings about invalid enum values in (a & ~b) constructs.

Definition at line 19 of file BLI_enum_flags.hh.

Member Function Documentation

◆ operator uint64_t()

template<typename T>
blender::BitwiseNotEnumValue< T >::operator uint64_t ( ) const
inline

Definition at line 21 of file BLI_enum_flags.hh.

References value.

Member Data Documentation

◆ value

template<typename T>
uint64_t blender::BitwiseNotEnumValue< T >::value

Definition at line 20 of file BLI_enum_flags.hh.

Referenced by operator uint64_t().


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