-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When extracting an element in a vector using vector.front(), the element's pointer points to itself. #5205
Comments
What did you mean by "the first Node"?
|
Simple Source Code
QuesitionWhat I want is the element with the smallest f-value in |
|
This is probably unrelated to When using |
Describe the issue
When fetching the first Node from
std::vector
usingvector.front()
, it is found that the parent pointer of the first Node points to itself.Simple Source Code
Expected behavior
When fetching the first Node from
std::vector
usingvector.front()
, the parent pointer of the first Node points to Node.parent.STL version
The text was updated successfully, but these errors were encountered: