Skip to content

Commit

Permalink
Add alternative null optional constant
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Nov 15, 2023
1 parent 5d4ac9d commit c69ca84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/inc/tactile/core/functional/maybe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ template <typename T>
using Maybe = std::optional<T>;

inline constexpr std::nullopt_t kNone = std::nullopt;
inline constexpr std::nullopt_t kNothing = std::nullopt;

} // namespace tactile

0 comments on commit c69ca84

Please sign in to comment.