// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include inline std::ostream& operator<<(std::ostream& lhs, const std::nullopt_t&) { return lhs << "none"; } template std::ostream& operator<<(std::ostream& lhs, const std::optional& t) { if (t) return lhs << *t; else return lhs << "none"; }