bad optional access error #92
Unanswered
hyeongseok21
asked this question in
[Project Q&A] 4. Etc
Replies: 1 comment 2 replies
-
This is related to std::optional. Please, refer to the documentation for its usage.
3,000,000,000,000 is a correct value. 3,000 seconds is 3,000,000,000,000 nanoseconds |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we encountered [bad optional access error] which occurs when "attempt to access the value of an object that does not contain a value" while doing PA4.
We searched through testrouting.cpp file, and added some printf code for debug, and found parameter of netSystem.run() is 3000000000000.
It seems C++ error, how can I solve this?
here is my debug code and error message indicating value 3000000000000 is inserted automatically
Beta Was this translation helpful? Give feedback.
All reactions