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

Remove algorithm dep #24

Merged
merged 2 commits into from Sep 25, 2014
Merged

Conversation

steveire
Copy link
Contributor

No description provided.

Remove trailing whitespace from modified lines.

 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME *$|typename|'
 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME \(.*\) +$|typename \1|'
 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME|typename|'

Remove include of header from Boost.Algorithm library providing the define.
Remove dependency on Boost.Algorithm library.


typedef double yes_type;
typedef char no_type;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't these replacement types have guaranteed different sizes?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a conforming implementation can have sizeof(double) = 1. (I'm not aware of any implementations like this in practice.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not aware of them either, but it costs nothing to define these types as char (&)[1] and char (&)[2].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change it if someone says it's a condition to merge it. Will either of you merge it, or will I still be waiting for someone else?

neilgroves added a commit that referenced this pull request Sep 25, 2014
@neilgroves neilgroves merged commit 4f3bdbe into boostorg:develop Sep 25, 2014
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.

None yet

5 participants