Blender V5.0
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.

Member Data Documentation

◆ key

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

Definition at line 78 of file BLI_map.hh.

◆ value

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

Definition at line 79 of file BLI_map.hh.

Referenced by blender::eevee::LightProbeModule::end_sync(), and blender::tests::TEST().


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