Partager via


operator!= <random>

Tests if the engine on the left side of the operator is not equal to the engine on the right side.

template<class UIntType,
    UIntType A, UIntType C, UIntType M>
    bool operator!=(
        const linear_congruential<UIntType, A, C, M>& left,
        const linear_congruential<UIntType, A, C, M>& right);
template<class UIntType,
    int W, int N, int M, int R,
    UIntType A, int U, int S,
    UIntType B, int T, UIntType C, int L>
    bool operator!=(
        const mersenne_twister<UIntType, W, N, M, R,
            A, U, S, B, T, C, L>& left,
        const mersenne_twister<UIntType, W, N, M, R,
            A, U, S, B, T, C, L>& right);
template<class IntType,
    IntType M, int S, int R>
    bool operator!=(
        const subtract_with_carry<IntType, M, S, R>& left,
        const subtract_with_carry<IntType, M, S, R>& right);
template<class RealType,
    int W, int S, int R>
    bool operator!=(
        const subtract_with_carry_01<RealType, W, S, R>& left,
        const subtract_with_carry_01<RealType, W, S, R>& right);
template<class Engine,
    int P, int R>
    bool operator!=(
        const discard_block<Engine, F, R>& left,
        const discard_block<Engine, F, R>& right);
template<class Engine1, int S1,
    class Engine2, int S2>
    bool operator!=(
        const xor_combine<Engine1, S1, Engine2, S2>& left,
        const xor_combine<Engine1, S1, Engine2, S2>& right);
template<class Engine,
    size_t W, class UIntType>
    bool operator!=(
        const independent_bits_engine<Engine, W, U>& left,
        const independent_bits_engine<Engine, W, U>& right);
template<class Engine,
    size_t K>
    bool operator!=(
        const ahuffle_order_engine<Engine, K>& left,
        const shuffle_order_engine<Engine, K>& right);

Parameters

  • left
    An object representing an engine.

  • right
    An object representing an engine.

Remarks

The template operators return !(left == right).

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

Other Resources

<random> Members