#include <lazy.h>
|
| valuet | force () |
| | Force the computation of the value.
|
| |
|
| static lazyt | from_fun (std::function< valuet()> fun) |
| | Delay the computation of fun to the next time the force method is called.
|
| |
template<
typename valuet>
class lazyt< valuet >
Definition at line 16 of file lazy.h.
◆ lazyt()
◆ force()
| valuet lazyt< valuet >::force |
( |
| ) |
|
|
inline |
Force the computation of the value.
If it was already computed, return the same result.
Definition at line 28 of file lazy.h.
◆ from_fun()
Delay the computation of fun to the next time the force method is called.
Definition at line 21 of file lazy.h.
◆ evaluation_function
| std::function<valuet()> lazyt< valuet >::evaluation_function |
|
private |
◆ value
| std::optional<valuet> lazyt< valuet >::value |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/cbmc/cbmc/src/util/lazy.h