diff options
author | Daniel Boles <dboles.src@gmail.com> | 2019-11-09 15:17:32 +0000 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2019-11-09 20:04:15 +0000 |
commit | a429221b4c15b004409c6f4ab0549b9740851148 (patch) | |
tree | e3262b4e2389db0e530707b0c0b56cf41a4c2549 /tests | |
parent | cecbf3c66aa016033207668179a83b3138c8ad0d (diff) | |
download | glibmm-a429221b4c15b004409c6f4ab0549b9740851148.tar.gz |
Binding: Use std::optional instead of out-ref+bool
The pattern of returning a boolean to indicate whether an output
reference was set is messy and error-prone. C++17 adds std::optional,
which exists precisely to indicate that a result is available or not.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions