MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMapOrHashMap.h File Reference
#include "MRMacros.h"
#include "MRParallelFor.h"
#include "MRVector.h"
#include "MRphmap.h"
#include "MRPch/MRBindingMacros.h"
#include <variant>

Go to the source code of this file.

Classes

struct  MR::detail::HashMapSlots< K, V >
 phmap has no public access to a slot of a hash table by its index: take its protected iterator_at() via a member pointer More...
struct  MR::MapOrHashMap< K, V >

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
namespace  MR::detail
 for internal use: namespace detail is not bound to other languages

Functions

template<typename K, typename V>
V MR::getAt (const MapOrHashMap< K, V > &m, K key, V def={})
template<typename K, typename V>
void MR::setAt (MapOrHashMap< K, V > &m, K key, V val)