Skip to content

#pragma once#1

Open
adamnemecek wants to merge 1 commit into
muellan:masterfrom
adamnemecek:master
Open

#pragma once#1
adamnemecek wants to merge 1 commit into
muellan:masterfrom
adamnemecek:master

Conversation

@adamnemecek

Copy link
Copy Markdown

No description provided.

@muellan

muellan commented Jun 4, 2018

Copy link
Copy Markdown
Owner

#pragma once

  • is not part of any C++ standard (this is why I decided against it)
  • the current code should work fine, even with those compilers that might not support it
  • the PR does not add any functionality or fix any bugs (as far as I can tell)

@adamnemecek

adamnemecek commented Jun 4, 2018

Copy link
Copy Markdown
Author

It removes 70 lines of code, that's functionality of sorts. Also every single C++ compiler that people use recognizes this pragma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants