mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update documentation of LazyInit
This commit is contained in:
parent
9d8ee5cc8f
commit
648bb3aac7
@ -31,8 +31,10 @@ namespace solidity::util
|
|||||||
DEV_SIMPLE_EXCEPTION(BadLazyInitAccess);
|
DEV_SIMPLE_EXCEPTION(BadLazyInitAccess);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a lazy-initialized value.
|
* A value that is initialized at some point after construction of the LazyInit. The stored value can only be accessed
|
||||||
* @tparam T the type of the lazy-initialized object; may not be a function, reference, array, or void type; may be const-qualified.
|
* while calling "init", which initializes the stored value (if it has not already been initialized).
|
||||||
|
*
|
||||||
|
* @tparam T the type of the stored value; may not be a function, reference, array, or void type; may be const-qualified.
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class LazyInit
|
class LazyInit
|
||||||
|
Loading…
Reference in New Issue
Block a user