Comments (1)
It's used to speedup compilation.
#pragma once is more efficient than header guards (the compiler remember that the file should only be included once and do not open it two times) but is not supported everywhere unlike header guards.
So if the compiler supports #pragma once it will compile faster (and that's great) but if the compiler does not support it, the #pragma once statement is ignored and the header guards will ensure the compilation works.
from nazaraengine.
Related Issues (20)
- Problem with states and enabling entities HOT 1
- Make Console uses widgets
- Message à chaque création de buffer où celui-ci se trouvait en mémoire HOT 3
- Matrix4 : Problem with getColumn / getRow ? HOT 1
- Normales et tangentes non transformé
- Sprite::SetTexture sometimes resize sprite even when asked to not do it
- Link error with Nazara when having previous libraries installed in /usr/lib on Linux HOT 1
- Prerequesites.hpp => Prerequisites.hpp HOT 1
- [Linux] Linking issue with extlibs when using gmake2 generator HOT 1
- compilation erreur ' addrinfoW ' HOT 12
- Using SDL2 instead of native windowing APIs HOT 2
- Add support for spans in the logger HOT 1
- Idea - Add support for many joystick HOT 1
- Ajout du support de CMake HOT 11
- Liste des move problématiques HOT 2
- Dépendance `chipmunk2d` ne trouve pas `sys/sysctl.h` HOT 4
- Support MSYS2 MinGW-w64 HOT 8
- Please add CMakeLists.txt HOT 1
- problems running physics demo HOT 13
- 'ft2build.h' file not found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nazaraengine.