operator==,!=(std::discrete_distribution)
来自cppreference.com
                    
                                        
                    < cpp | numeric | random | discrete distribution
                    
                                                            
                    
|   template< class ResultType > bool operator==( const discrete_distribution<ResultType>& lhs,  | 
(1) | |
|   template< class ResultType > bool operator!=( const discrete_distribution<ResultType>& lhs,  | 
(2) | |
比较二个分布对象。参数值和内部状态相同时二个分布对象相等。
1) 比较二个分布对象是否相等。
2) 比较二个分布对象是否不等。
参数
| lhs, rhs | - | 要比较的分布对象 | 
返回值
1) 若分布对象相等则为 true ,否则为 false 。
2) 若分布对象不相等则为 true ,否则为 false 。
复杂度
常数。