Skip to content

Edge with no default empty constructor (Edge{}) #85

Answered by artem-ogre
IkarusDeveloper asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @IkarusDeveloper,

From std::vector docs:

T must meet the requirements of CopyAssignable and CopyConstructible.

which Edge satisfies.

I am not sure what compilation errors you are referring to.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@IkarusDeveloper
Comment options

@artem-ogre
Comment options

Answer selected by IkarusDeveloper
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants