Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a proper name for instance of struct?

Tags:

c++

struct

Instances of classes are called objects, but is there a certain name for instances of structs?

Having the separate terms "class" and "object" is useful to distinguish between the class and the instance of the class, but I've only ever heard of the single term "struct" to refer to either the struct or the instance of the struct (depending on context).

like image 514
ImaginaryHuman072889 Avatar asked Oct 25 '25 13:10

ImaginaryHuman072889


1 Answers

Instances of structs, classes, ints, unions, floats etc. are all objects.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!