Add doc + small unittest
parent
80ae9afe4e
commit
362ff08855
|
@ -63,7 +63,7 @@ struct Maybe {
|
|||
}
|
||||
|
||||
/// @brief Will assign a value.
|
||||
/// @param v The enw valid value.
|
||||
/// @param v The new valid value.
|
||||
void Set(T &v) {
|
||||
ai_assert(!_valid);
|
||||
|
||||
|
@ -79,6 +79,7 @@ struct Maybe {
|
|||
}
|
||||
|
||||
Maybe &operator&() = delete;
|
||||
Maybe(const Maybe &) = delete;
|
||||
|
||||
private:
|
||||
T _val;
|
||||
|
|
|
@ -89,6 +89,7 @@ SET( COMMON
|
|||
unit/utProfiler.cpp
|
||||
unit/utSharedPPData.cpp
|
||||
unit/utStringUtils.cpp
|
||||
unit/Common/utMaybe.cpp
|
||||
unit/Common/utMesh.cpp
|
||||
unit/Common/utStandardShapes.cpp
|
||||
unit/Common/uiScene.cpp
|
||||
|
|
Loading…
Reference in New Issue