Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Repository
Switch branch/tag
  • openfoam
  • src
  • OpenFOAM
  • memory
  • autoPtr
  • autoPtr.H
Find file BlameHistoryPermalink
  • Mark OLESEN's avatar
    ENH: explicit convert to bool operator for autoPtr · 21557091
    Mark OLESEN authored Jul 30, 2018
    - behaves the same as the valid() method, but can be queried directly
      like a normal raw pointer and as per std::unique_ptr.
      Eg,
    
          autoPtr<T> ptr = ...
    
          if (ptr) ...
    21557091