Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 455
    • Issues 455
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Repository
  • openfoam
  • applications
  • test
  • autoPtr
  • Test-autoPtr.C
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