Skip to content

Commit

Permalink
Fixes #416: Moved experimental optional and any inclusions out of `na…
Browse files Browse the repository at this point in the history
…mespace cuda`
  • Loading branch information
eyalroz authored and Eyal Rozenberg committed Oct 13, 2022
1 parent c1d46c3 commit aa1d6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda/api/detail/optional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ using ::std::optional;
using ::std::nullopt;
} // namespace cuda
#elif __cplusplus >= 201402L
namespace cuda {
#include <experimental/optional>
#include <experimental/any>
namespace cuda {
using ::std::experimental::optional;
using ::std::experimental::nullopt;
} // namespace cuda
Expand Down

0 comments on commit aa1d6e0

Please sign in to comment.