MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Functions
index.hpp File Reference
#include <stdint.h>
#include <stddef.h>
#include <climits>

Go to the source code of this file.

Classes

class  microstrain::Index
 Represents an index ranging from 0..N excluding N. More...
 
class  microstrain::Id
 Representes an ID number ranging from 1..N including N. More...
 

Namespaces

 microstrain
 

Functions

constexpr bool microstrain::operator== (Id l, Index r)
 
constexpr bool microstrain::operator== (Index l, Id r)
 
template<class Container >
auto * microstrain::indexOrNull (Container &container, Index index)
 
template<class Container , typename Value >
auto microstrain::indexOrDefault (Container &container, Index index, Value default_)