Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solving #109 with redundant inclusion guards #110

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Redundant include guards
To reduce compilation time explodes in ctre.hpp
jmramosr authored Sep 16, 2020
commit 2b616243fb921155ccf06e436c8348bf8237005e
14 changes: 14 additions & 0 deletions include/ctre.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
#ifndef CTRE_V2__CTRE__HPP
#define CTRE_V2__CTRE__HPP

#ifndef CTRE_V2__CTRE__LITERALS__HPP
#include "ctre/literals.hpp"
#endif

#ifndef CTRE_V2__CTRE__FUNCTIONS__HPP
#include "ctre/functions.hpp"
#endif

#ifndef CTRE_V2__CTRE__ITERATOR__HPP
#include "ctre/iterators.hpp"
#endif

#ifndef CTRE_V2__CTRE__RANGE__HPP
#include "ctre/range.hpp"
#endif

#ifndef CTRE_V2__CTRE__OPERATORS__HPP
#include "ctre/operators.hpp"
#endif

#endif