다음을 통해 공유


operator== <random>

엔진 연산자의 왼쪽에서 오른쪽 엔진 같으면 테스트 합니다.

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 shuffle_order_engine<Engine, K>& left,
        const shuffle_order_engine<Engine, K>& right);

매개 변수

  • left
    엔진을 나타내는 개체입니다.

  • right
    엔진을 나타내는 개체입니다.

설명

이 템플릿을 운영자 경우 피연산자 엔진에 저장 된 동일한 매개 변수 및 상태 있으면 동일한 시퀀스 생성 true를 반환 합니다.

요구 사항

헤더: <random>

네임 스페이스: std

참고 항목

참조

<random>