Many people have been confused by the use of a struct and std::optional in the Physical devices and queue families chapter because at that point there's only one queue and it's kinda overkill. Either the text should be changed to clarify that this abstraction is beneficial later on or it should only be added in the Window surface chapter.
Many people have been confused by the use of a struct and
std::optional
in the Physical devices and queue families chapter because at that point there's only one queue and it's kinda overkill. Either the text should be changed to clarify that this abstraction is beneficial later on or it should only be added in the Window surface chapter.