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

Update csv.hpp #122

Closed
wants to merge 1 commit into from
Closed

Update csv.hpp #122

wants to merge 1 commit into from

Conversation

alongL
Copy link

@alongL alongL commented Aug 28, 2020

for centos 7.6 , gcc-4.8 will produce some compile error for these things.

  1. "" _csv, there must be a space between "" and _csv
  2. constexpr to const. if not compile error occours
csv.hpp:3915:29: error:enclosing class of constexpr non-static member function ‘bool csv::CSVRow::iterator::operator==(const csv::CSVRow::iterator&) const’ is not a literal type
             constexpr  bool operator==(const iterator& other) const {

for centos 7.6 , gcc-4.8 will produce some compile error for these things.
1. "" _csv, there must be a space
2.  constexpr to const
```
csv.hpp:3915:29: error:enclosing class of constexpr non-static member function ‘bool csv::CSVRow::iterator::operator==(const csv::CSVRow::iterator&) const’ is not a literal type
             constexpr  bool operator==(const iterator& other) const {
```
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

2 participants