Skip to content

can we not ignore comment #104

@mom1705

Description

@mom1705

I am having really hard time writing code using csvparse because of lack of examples.
I want "#" in the starting of the line NOT to be considered as comment and I wrote

io::CSVReader<3, io::no_comment> in(strFileName.c_str());

and tried
io::CSVReader<3, io::no_comment<'#'>> in(strFileName.c_str());

and it gives compilation error

/fgw_dev/dev/libs/saxparser/include/csv.h:875:77: error: 'trim' is not a member of 'io::no_comment'
trim_policy::trim(col_begin, col_end);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions