From Jason Turner

[rand.adapt.ibits]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp2o_3y57v/{from.md → to.md} +12 -1
tmp/tmp2o_3y57v/{from.md → to.md} RENAMED
@@ -59,16 +59,27 @@ template<class Engine, size_t w, class UIntType>
59
  template<class Sseq> explicit independent_bits_engine(Sseq& q);
60
  void seed();
61
  void seed(result_type s);
62
  template<class Sseq> void seed(Sseq& q);
63
 
 
 
 
64
  // generating functions
65
  result_type operator()();
66
  void discard(unsigned long long z);
67
 
68
  // property functions
69
- const Engine& base() const noexcept { return e; };
 
 
 
 
 
 
 
 
70
 
71
  private:
72
  Engine e; // exposition only
73
  };
74
  ```
 
59
  template<class Sseq> explicit independent_bits_engine(Sseq& q);
60
  void seed();
61
  void seed(result_type s);
62
  template<class Sseq> void seed(Sseq& q);
63
 
64
+ // equality operators
65
+ friend bool operator==(const independent_bits_engine& x, const independent_bits_engine& y);
66
+
67
  // generating functions
68
  result_type operator()();
69
  void discard(unsigned long long z);
70
 
71
  // property functions
72
+ const Engine& base() const noexcept { return e; }
73
+
74
+ // inserters and extractors
75
+ template<class charT, class traits>
76
+ friend basic_ostream<charT, traits>&
77
+ operator<<(basic_ostream<charT, traits>& os, const independent_bits_engine& x);
78
+ template<class charT, class traits>
79
+ friend basic_istream<charT, traits>&
80
+ operator>>(basic_istream<charT, traits>& is, independent_bits_engine& x);
81
 
82
  private:
83
  Engine e; // exposition only
84
  };
85
  ```