We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
c10::optional
std::optional
1 parent 706df29 commit 3ea8538Copy full SHA for 3ea8538
runtime/core/exec_aten/exec_aten.h
@@ -60,7 +60,7 @@ using string_view = c10::string_view;
60
template <typename T>
61
using ArrayRef = c10::ArrayRef<T>;
62
63
-using optional = c10::optional<T>;
+using optional = std::optional<T>;
64
using nullopt_t = c10::nullopt_t;
65
using c10::nullopt;
66
using ScalarType = at::ScalarType;
0 commit comments