Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W waLBerla
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waLBerla
  • waLBerla
  • Merge requests
  • !81

Replace boost filesystem, any and optional if available in standard library

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michael Kuron requested to merge cpp14 into master Jan 31, 2018
  • Overview 3
  • Commits 6
  • Pipelines 14
  • Changes 37

Here is the next set of changes for #48 (closed). They are minor API changes, no worse than what !44 (merged) introduced a few months ago (which, by the way, wasn't even tagged [API]...). This is easily fixable with something like

find . -type f -exec sed -i \
  -e 's/boost::filesystem/walberla::filesystem/g' -e 's/boost::any/walberla::any/g' \
  -e 's/boost::optional/walberla::optional/g' {} +

The nice thing about this pull request is: when building without the Python interface, we now no longer depend on any boost libraries; we only need the headers. GCC's libstdc++ ships with the necessary stuff in std::experimental since version 5.0, Clang's libc++ does too since 4.0 and MSVC since 2015. Apple's Clang doesn't ship filesystem and marks any and optional as unavailable, so we fall back to Boost on it (and on other older compiler versions).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cpp14