Skip to content

Conversation

@bbneil
Copy link

@bbneil bbneil commented Jul 5, 2017

Explicitly includes the standard library headers each file uses. Resolves #155

seq::range<std::size_t>(start, end - rangeSize + 1),
[=](std::size_t rangeStart) {
return std::make_pair(rangeStart,
return std::pair<std::size_t, std::size_t>(rangeStart,
Copy link
Owner

Choose a reason for hiding this comment

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

Incorrect formatting.


std::size_t FrequencyMap::lookup(std::size_t x) const {
return std::upper_bound(begin(m_table), end(m_table), x) - begin(m_table);
return std::upper_bound(std::begin(m_table), std::end(m_table), x) - std::begin(m_table);
Copy link
Owner

Choose a reason for hiding this comment

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

If not relying on ADL anyway, I'd prefer .begin() and .end().

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