This commit is contained in:
Mat Sutcliffe
2021-04-17 16:39:09 +01:00
parent 39d6100c87
commit 38328d536b
3 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,9 @@ namespace BlackMisc
{
/*!
* Class which can directly contain zero or one object of type T, with pointer semantics.
* Own implementation of std::optional.
*
* Needed to work around lack of C++20 copyable lambda functions.
*/
template <typename T>
class Optional