다음을 통해 공유


seed_seq Class

Stores a vector of unsigned integer values that can supply a randomized seed for a random-number engine.

class seed_seq {
public:
    typedef uint_least32_t result_type;
    seed_seq();
    template<class InputIterator>
        seed_seq(InputIterator first, InputIterator last);
    template<class RandomAccessIterator>
        void generate(
            RandomAccessIterator first,
            RandomAccessIterator last);
    size_t size() const;
    template<class OutputIterator >
        void param(OutputIterator dest) const;
private:
    vector<result_type> vec;
    };

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

seed_seq::generate

seed_seq::param

seed_seq::seed_seq

Other Resources

<random> Members