Lines Matching refs:value
24 struct sk_strip_enum<T, typename std::enable_if<std::is_enum<T>::value>::type> {
30 * In C++ an unsigned to signed cast where the source value cannot be represented in the destination
31 * type results in an implementation defined destination value. Unlike C, C++ does not allow a trap.
35 * when testing if a value of a smaller signed type can be represented in a larger unsigned type
38 * when testing if a value of a larger unsigned type can be represented in a smaller signed type
46 * v is the value we're considering.
51 * S -> s: (S)(s)v == v, first cast implementation value, second cast defined, test works
52 * s -> U: (s)(U)v == v, *this is bad*, the second cast results in implementation defined value
56 * first cast results in implementation defined value,
71 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) &&
72 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
78 (std::is_signed<S>::value && std::is_unsigned<D>::value && sizeof(S) <= sizeof(D)) ?
82 (std::is_signed<D>::value && std::is_unsigned<S>::value && sizeof(D) <= sizeof(S)) ?
90 (std::is_signed<S>::value) ?