Blender V4.3
blender::MutableMapItem< Key, Value > Struct Template Reference

#include <BLI_map.hh>

Public Member Functions

 operator MapItem< Key, Value > () const
 

Public Attributes

const Keykey
 
Value & value
 

Detailed Description

template<typename Key, typename Value>
struct blender::MutableMapItem< Key, Value >

Same as #MapItem, but the value is mutable. The key is still const because changing it might change its hash value which would lead to undefined behavior in the #Map.

Definition at line 77 of file BLI_map.hh.

Member Function Documentation

◆ operator MapItem< Key, Value >()

template<typename Key , typename Value >
blender::MutableMapItem< Key, Value >::operator MapItem< Key, Value > ( ) const
inline

Definition at line 81 of file BLI_map.hh.

References blender::MutableMapItem< Key, Value >::key.

Member Data Documentation

◆ key

template<typename Key , typename Value >
const Key& blender::MutableMapItem< Key, Value >::key

◆ value

template<typename Key , typename Value >
Value& blender::MutableMapItem< Key, Value >::value

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