Function release
Synopsis
#include "breeze/random/entropy_source.hpp"
bool release() noexcept
Description
Releases the system resource(s) associated with this object (usually a file or a handle).
This function is called by the destructor, but calling it manually allows checking for errors.
- Returns
true
if and only if the resource(s) were successfully released.- Exceptions
- none (reports via its return value)
- Note
- This function may be called multiple times. After calling
release()
, the only functions that can be called on the object arerelease()
and the destructor.
Source
Line 165 in breeze/random/entropy_source.hpp.