OpenKalman
Classes | Namespaces | Functions
cast_to.hpp File Reference
#include <cstdint>
#include "basics/basics.hpp"
#include "values/concepts/value.hpp"
#include "values/concepts/complex.hpp"
#include "values/functions/to_value_type.hpp"
#include "values/functions/internal/make_complex_number.hpp"
#include "values/traits/value_type_of.hpp"
#include "values/classes/fixed_value.hpp"
Include dependency graph for cast_to.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenKalman::values::fixed_cast< T, Arg >
 A fixed value cast from another fixed value. More...
 
struct  OpenKalman::values::detail::value_type_convertible< Arg, T, typename >
 
struct  OpenKalman::values::detail::value_type_convertible< Arg, T, std::enable_if_t< stdex::convertible_to< typename value_type_of< Arg >::type, T > > >
 
struct  OpenKalman::values::detail::is_fixable< T, Arg, typename, typename >
 
struct  OpenKalman::values::detail::is_fixable< T, Arg, std::void_t< fixed_value< T, fixed_value_of_v< Arg > > > >
 
struct  OpenKalman::values::detail::real_types_convertible< Arg, T, typename >
 
struct  OpenKalman::values::detail::real_types_convertible< Arg, T, std::enable_if_t< stdex::convertible_to< typename real_type_of< Arg >::type, typename real_type_of< T >::type > > >
 

Namespaces

 OpenKalman::values
 Definition for values::abs.
 

Functions

template<typename T , typename Arg , std::enable_if_t<(not number< T > or not complex< Arg >) and std::is_same_v< T, std::decay_t< T >> and detail::value_type_convertible< Arg, T >::value, int > = 0>
decltype(auto) constexpr OpenKalman::values::cast_to (Arg &&arg)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.