So,if I define an enum like:
class x{
public:
enum{
hey=0
};
}
Is it true that it doesn't occupy any space? And if yes,why?
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more