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
  • !337

Prepare compilation for C++17: std::any does not have `empty`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stephan Seitz requested to merge seitz/walberla:c++17-any into master Oct 03, 2020
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

std::any does not have a member empty, only boost::any. With this change waLBerla can also be compiled as C++17. We could also provide a generic function that works with both but this will not impede users to use the one version or the others. boost::any shouldn't be required anymore after a switch to C++17.

Edited Oct 03, 2020 by Stephan Seitz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: c++17-any