OpenKalman
Functions
get_hash_code.hpp File Reference

Definition for get_hash_code. More...

#include <typeindex>
#include "linear-algebra/coordinates/interfaces/coordinate_descriptor_traits.hpp"
#include "linear-algebra/coordinates/concepts/descriptor.hpp"
Include dependency graph for get_hash_code.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Arg , std::enable_if_t< descriptor< Arg >, int > = 0>
constexpr std::size_t OpenKalman::coordinates::internal::get_hash_code (const Arg &arg)
 Obtain a unique hash code for an coordinates::descriptor. More...
 

Detailed Description

Definition for get_hash_code.

Function Documentation

◆ get_hash_code()

template<typename Arg , std::enable_if_t< descriptor< Arg >, int > = 0>
constexpr std::size_t OpenKalman::coordinates::internal::get_hash_code ( const Arg &  arg)

Obtain a unique hash code for an coordinates::descriptor.

Two coordinates will be equivalent if they have the same hash code.