Skip to content

Reinvent boost string algorithms #81

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

Open
wants to merge 9 commits into
base: devel
Choose a base branch
from

Conversation

bitshifter
Copy link

Replaced everything except for boost::chrono and boost::math. Will look at math next. Fixes #47.

Copy link

@griwes griwes left a comment

Choose a reason for hiding this comment

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

Isn't explicitly saying nonius:: everywhere with those algorithms - while in namespace nonius - too verbose?

namespace detail {
template <typename T>
class optional {
// Note that this doesn't handle aligned types
Copy link

Choose a reason for hiding this comment

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

std::aligned_storage_t

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the tip!

Copy link
Author

@bitshifter bitshifter left a comment

Choose a reason for hiding this comment

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

Isn't explicitly saying nonius:: everywhere with those algorithms - while in namespace nonius - too verbose?

Most of them aren't actually in nonius namespace. The code inside cpptempl.h looks like it's 3rd party. I've removed a couple of superfluous nonius:: prefixes from main.c++ though.

namespace detail {
template <typename T>
class optional {
// Note that this doesn't handle aligned types
Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the tip!

@bitshifter
Copy link
Author

I've found a problem with my optional implementation under MSVC, so will close this PR until I manage to resolve it.

@bitshifter bitshifter closed this Oct 4, 2016
@bitshifter
Copy link
Author

Addressed issues with optional.

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

Successfully merging this pull request may close these issues.

3 participants