algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
upcast.h File Reference
#include <cstdint>
#include <string>
#include <type_traits>
Include dependency graph for upcast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  algorithms::detail::upcast_type< T, Enable >
struct  algorithms::detail::upcast_type< UInt, std::enable_if_t< std::is_integral_v< UInt > &&!std::is_signed_v< UInt > > >
struct  algorithms::detail::upcast_type< Int, std::enable_if_t< std::is_integral_v< Int > &&std::is_signed_v< Int > > >
struct  algorithms::detail::upcast_type< Enum, std::enable_if_t< std::is_enum_v< Enum > > >
struct  algorithms::detail::upcast_type< Float, std::enable_if_t< std::is_floating_point_v< Float > > >
struct  algorithms::detail::upcast_type< String, std::enable_if_t< std::is_convertible_v< String, std::string > > >
struct  algorithms::detail::upcast_type< bool >

Namespaces

namespace  algorithms
namespace  algorithms::detail

Typedefs

template<class T>
using algorithms::detail::upcast_type_t = typename upcast_type<std::remove_cvref_t<T>>::type

Functions

template<class T>
upcast_type_t< T > algorithms::detail::upcast (T &&value)