operator==,!= (std::discard_block_engine)
| Common mathematical functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical special functions (C++17) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mathematical constants (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basic linear algebra algorithms (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Data-parallel types (SIMD) (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Floating-point environment (C++11) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Complex numbers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
               Numeric array (
               
                valarray
               
               )
              
              | 
            |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Pseudo-random number generation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bit manipulation (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Saturation arithmetic (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
  | 
             
              
  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
  | 
             
              
  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
  | 
             
              
  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C-style checked integer arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
  | 
            |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
              
  | 
             
              
  | 
            |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Generation | ||||
| Characteristics | ||||
| Non-member functions | ||||
| 
               
                
                 
                  
                   operator==
                  
                  
                   operator!=
                  
                 
                
                
               
                
                 
                  
                   (C++11)
                  
                 
                 
                  
                   (C++11)
                  
                  
                   (until C++20)
                  
                 
                
                
               | 
            ||||
| 
               
                
                 
                  
                   (C++11)
                  
                 
                 
                  
                   (C++11)
                  
                 
                
                
               | 
            
| 
           
           
            
             friend
            
            
             bool
            
            operator
            
             ==
            
            
             (
            
            
             const
            
            discard_block_engine
            
             &
            
            lhs,
             
         const discard_block_engine & rhs ) ;  | 
         (1) | (C++11 이후) | 
| 
           
           
            
             friend
            
            
             bool
            
            operator
            
             !
            
            
             =
            
            
             (
            
            
             const
            
            discard_block_engine
            
             &
            
            lhs,
             
         const discard_block_engine & rhs ) ;  | 
         (2) | 
          
           (C++11 이후)
          
           (C++20 이전)  | 
        
두 개의 의사 난수 엔진 어댑터를 비교합니다. 두 엔진 어댑터는 기본 엔진이 동일하고 내부 상태(존재하는 경우)가 동일한 경우, 즉 임의의 호출 횟수에 대해 동등한 값을 생성할 경우 동일합니다. operator ( ) .
이 함수들은 일반적인 unqualified lookup 또는 qualified lookup 으로는 보이지 않으며, std::discard_block_engine<Engine, p, r>이 인자들의 연관 클래스일 때에만 argument-dependent lookup 을 통해서만 찾을 수 있습니다.
| 
          
            | 
        (C++20 이후) | 
         목차 | 
       
매개변수
| lhs, rhs | - | 비교할 엔진 어댑터 | 
반환값
예외
아무것도 던지지 않습니다.
결함 보고서
다음의 동작 변경 결함 보고서들은 이전에 발표된 C++ 표준에 소급 적용되었습니다.
| DR | 적용 대상 | 게시된 동작 | 올바른 동작 | 
|---|---|---|---|
| LWG 3519 | C++11 | 동등 연산자의 형태가 명시되지 않음 | 숨겨진 friend로 명시됨 |