#include "MRMacros.h"
#include "MRNoDefInit.h"
#include "MRId.h"
#include <cassert>
#include <concepts>
#include <memory>
#include <type_traits>
Go to the source code of this file.
|
| namespace | MR |
| | only for bindings generation
|
| |
|
| template<typename T , typename I > |
| T | MR::getAt (const Buffer< T, I > &bmap MR_LIFETIMEBOUND_NESTED, I key, T def={}) |
| | given some buffer map and a key, returns the value associated with the key, or default value if key is invalid
|
| |
| template<typename T , typename I > |
| auto | MR::begin (const Buffer< T, I > &a) |
| |
| template<typename T , typename I > |
| auto | MR::begin (Buffer< T, I > &a) |
| |
| template<typename T , typename I > |
| auto | MR::end (const Buffer< T, I > &a) |
| |
| template<typename T , typename I > |
| auto | MR::end (Buffer< T, I > &a) |
| |
| template<typename T > |
| BMap< T, T > | MR::compose (const BMap< T, T > &a, const BMap< T, T > &b) |
| | computes the composition of two mappings x -> a(b(x))
|
| |