Blender V5.3
blender::blender::ImplicitSharedValue< T > Class Template Reference

#include <bmesh_polygon.hh>

Inherits blender::blender::ImplicitSharingInfo.

Public Member Functions

template<typename... Args>
 ImplicitSharedValue (Args &&...args)
 MEM_CXX_CLASS_ALLOC_FUNCS ("ImplicitSharedValue")
Public Member Functions inherited from blender::blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
bool is_mutable () const
bool is_expired () const
void add_user () const
void add_weak_user () const
void tag_ensured_mutable () const
int64_t version () const
int strong_users () const
void remove_user_and_delete_if_last () const
void remove_weak_user_and_delete_if_last () const

Public Attributes

T data

Detailed Description

template<typename T>
class blender::blender::ImplicitSharedValue< T >

Utility for creating an allocated shared resource, to be used like: new ImplicitSharedValue<T>(args);

Definition at line 213 of file bmesh_polygon.hh.

Constructor & Destructor Documentation

◆ ImplicitSharedValue()

template<typename T>
template<typename... Args>
blender::blender::ImplicitSharedValue< T >::ImplicitSharedValue ( Args &&... args)
inline

Definition at line 218 of file bmesh_polygon.hh.

Member Function Documentation

◆ MEM_CXX_CLASS_ALLOC_FUNCS()

template<typename T>
blender::blender::ImplicitSharedValue< T >::MEM_CXX_CLASS_ALLOC_FUNCS ( "ImplicitSharedValue< T >" )

Member Data Documentation

◆ data

template<typename T>
T blender::blender::ImplicitSharedValue< T >::data

Definition at line 215 of file bmesh_polygon.hh.


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