Is it possible to understand std::seed_seq? in this way?

when learning < random > library, only seed_seq does not quite understand
although I went to MSDN, and cppreference, it is not very clear that
there is too little information about seed_seq on
Google.
my understanding is: when a given seed is not very good or the seed distribution in a linear list is not good, but you need a lot of random engines or a lot of entropy generators. You can use seed_seq
. According to the English introduction of cppreference, this is roughly how you understand

.

an example that seems to understand but does not understand:

-sharpinclude <iostream>
-sharpinclude <random>

using namespace std;
int main(int argc, char *argv[]) {
    seed_seq seq {1, 2, 3, 4, 5};
    vector<int> vec(10);
    seq.generate(vec.begin(), vec.end());
    for(const auto &c : vec) {
        cout << c << endl;
    }
}

I wonder if my understanding is correct, or can you give me some more detailed explanations and examples?

Mar.10,2021

my understanding is that when a given seed is not very good or the seeds in a linear list are not well distributed, but a large number of random engines or entropy generators are needed, seed_seq.
can be used.
std::seed_seq is generally intended to be used if you don't trust the default implementation to properly initialize the state of the engine you're using. < sup id= "fnref-1" > 1 < / sup >
Can
give some more detailed explanations and examples?
https://stackoverflow.com/a/2.

maybe you should read some books on cryptography? At the beginning of the semester, I rushed to hold an original copy of cryptography (from the big numbers, there are a lot of c implementations, but later, because < del > was too busy < / del >, I was too lazy to read it (ashamed). Chapter 12 is about random numbers, although I haven't seen it yet, but I think this book is very good, very practical, and the theory is also very good. It's just that there is little popularity in China. So I would like to recommend you here, you must find that you need a lot of knowledge of number theory when you study random library.

https://www.amazon.com/Crypto.

there are imported originals in China, so you can search for them yourself.

< hr >
    < li id= "fn-1" > https://stackoverflow.com/a/4. please
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e801a0-46887.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e801a0-46887.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?