HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Functions
seed.hpp File Reference

More...

#include "../assert.hpp"
#include "../rapid/numeric_array.hpp"
#include <random>
#include <concepts>
#include <type_traits>
#include <bit>

Go to the source code of this file.

Data Structures

struct  v1::seed< T >
 Randomly generate an object. More...
 

Functions

void v1::generate_seed (void *ptr, size_t size)
 Load a random seed.
 

Detailed Description

Function Documentation

◆ generate_seed()

void v1::generate_seed ( void * ptr,
size_t size )

Load a random seed.

Parameters
[out]ptrThe pointer to the buffer bytes where to generate the seed.
sizeThe number of bytes to generate.
Exceptions
os_erroron failure.