#include "MRMacros.h"
#include "MRMeshFwd.h"
#include "MRResizeNoInit.h"
#include "MRPch/MRBindingMacros.h"
#include <cassert>
Go to the source code of this file.
|
| namespace | MR |
| | only for bindings generation
|
|
| template<typename T> |
| T | MR::getAt (const std::vector< T > &a, size_t id, T def={}) |
| | given some std::vector and a key, returns the value associated with the key, or default value if key is invalid or outside the std::vector
|
| template<typename T, typename I> |
| T | 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
|