Skip to content

remove filename variable for fstreams #73

Closed
TravelMapping/DataProcessing
#269

Description

@yakra

Do it like this instead:
std::ofstream simplefile((path+graph_vector[graphnum].filename()).data());

Activity

  1. yakra commented on Dec 5, 2019

    @yakra
    OwnerAuthor

    Even better, C++11 supports passing a const string& to the fstream ctor.

  2. yakra commented on Dec 7, 2019

    @yakra
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions