MeshLib Documentation
Loading...
Searching...
No Matches
MRVector.h File Reference
#include "MRMacros.h"
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <cassert>
#include <vector>

Go to the source code of this file.

Classes

class  MR::Vector< T, I >
 std::vector<T>-like container that requires specific indexing type, More...
 

Namespaces

namespace  MR
 

Functions

template<typename T , typename I >
MR_BIND_IGNORE auto MR::begin (const Vector< T, I > &a)
 
template<typename T , typename I >
MR_BIND_IGNORE auto MR::begin (Vector< T, I > &a)
 
template<typename T , typename I >
MR_BIND_IGNORE auto MR::end (const Vector< T, I > &a)
 
template<typename T , typename I >
MR_BIND_IGNORE auto MR::end (Vector< T, I > &a)
 
template<typename T , typename I >
MR::getAt (const Vector< T, I > &a, I id, T def={})
 given some Vector and a key, returns the value associated with the key, or default value if key is invalid or outside the Vector