In what scenarios is it better to use a struct vs a class in C++?
struct
class
I use structs when I need to create POD type or functor.