RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
Casts.h File Reference
#include "rawspeedconfig.h"
#include <type_traits>
Include dependency graph for Casts.h:

Go to the source code of this file.

Namespaces

namespace  rawspeed

Functions

template<typename Ttgt, typename Tsrc>
requires (((std::is_integral_v<Tsrc> || std::is_floating_point_v<Tsrc>) && (std::is_integral_v<Ttgt> || std::is_floating_point_v<Ttgt>)) && !std::is_same_v<Tsrc, Ttgt>)
constexpr RAWSPEED_READNONE Ttgt rawspeed::implicit_cast (Tsrc value)
template<typename Ttgt, typename Tsrc>
requires (((std::is_integral_v<Tsrc> || std::is_floating_point_v<Tsrc>) && (std::is_integral_v<Ttgt> || std::is_floating_point_v<Ttgt>)) && std::is_same_v<Tsrc, Ttgt>)
constexpr RAWSPEED_READNONE Ttgt rawspeed::implicit_cast (Tsrc value)