|
cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
regular void This is basically a "null type": it can only be default-constructed and copy-constructed, it does not hold a value, and it can be returned from functions.
More...
regular void
This is basically a "null type": it can only be default-constructed and copy-constructed, it does not hold a value, and it can be returned from functions.
It is intended to be used in contexts where you need to do nothing but can't use void for that (for example, for returning a value from a function).
Regular void is based on proposal p0146r1 which defines an operable void type with the following properties:
rvoid can be default-constructedrvoid can be copy-constructed and copy-assignedrvoid compare equalrvoid can be madervoid as arguments, and return rvoid
1.8.13