Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      C++ named requirements:SeedSequence(since C++11)

      From cppreference.com
      <cpp‎ |named req
       
       
      C++ named requirements
       

      ASeedSequence is an object that produces unsigned integer valuesi in the range0 ≤ i < 232
      based on a consumed range of integer data.

      [edit]Requirements

      ExpressionTypeNotesComplexity
      S::result_typeTUnsigned integer of at least 32 bits.Compile-time
      S()Creates a seed sequence with the same initial state as other default-constructed seed sequences of typeS.Constant
      S(ib, ie)Creates a seed sequence with internal state depending on some or all supplied input bits by[ibie).O(ie - ib)
      S(il)The same asS(il.begin(), il.end()).
      q.generate(rb, re)voidFills[rbre) with 32-bit quantities depending on the initial supplied values and potential previous calls togenerate. Ifrb == re, it does nothing.O(re - rb)
      r.size()size_tThe amount of 32-bit integers copied byparam.Constant
      r.param(ob)voidCopies 32-bit values toob that would reproduce the current state of the object if passed to a constructor ofS.O(r.size())

      [edit]See also

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/SeedSequence&oldid=160693"

      [8]ページ先頭

      ©2009-2025 Movatter.jp