
I think the bottom line here would be "if it isn't broken, don't fix it".
But I agree that pragma once is an improvement over header guards. I might start using that for my personal projects.
Code: Select all
#ifndef _OGRE_HEADER_
#define _OGRE_HEADER_
#endif
Code: Select all
#pragma once
Code: Select all
#include "PROJECT_FILENAME_H_INCLUDED"