1. 27 May, 2019 2 commits
  2. 18 Feb, 2019 1 commit
    • Martin Heistermann's avatar
      Fix lifetime issues for Face::halfedges(), Cell::halffaces(). · ec489971
      Martin Heistermann authored
      Currently, the following API-usage is straight-forward and clean but
      unfortunately wrong and dangerous:
      
      `for (const auto heh: mesh.face(fh).halfedges()) { ... }`
      
      This is because the temporary `Face` returned by `face()` reaches the
      end of its lifetime, but `halfedges()` returned a reference to a vector that
      lives inside that object. Reference lifetime extension does not apply
      here.
      
      This change splits behaviour so that in rvalue context (such as
      temporaries), we move out the vector instead of returning a reference to
      it.
      ec489971
  3. 10 Feb, 2017 1 commit
  4. 02 Aug, 2012 1 commit
  5. 26 Apr, 2012 1 commit
  6. 10 Feb, 2012 1 commit
  7. 17 Jan, 2012 1 commit
  8. 09 Jan, 2012 1 commit