- 26 May, 2020 1 commit
-
-
Mark Olesen authored
-
- 31 Oct, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 22 Feb, 2019 1 commit
-
-
Mark Olesen authored
- PtrList::release() method. Similar to autoPtr and unique_ptr and clearer in purpose than using set(i,nullptr) - Construct from List of pointers, taking ownership. Useful when upgrading code. Eg, List<polyPatch*> oldList = ...; PtrList<polyPatch> newList(oldList); ... BUG: incorrect resizing method names (PtrDynList) in previously unused code
-
- 06 Feb, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 15 Jan, 2019 1 commit
-
-
Mark Olesen authored
- can still test as a bool or use to 'peek' at the content.
-
- 25 Jul, 2018 1 commit
-
-
Mark Olesen authored
- gets the pointer within the list.
-
- 22 Mar, 2018 1 commit
-
-
Mark Olesen authored
- improve internal handling to permit deriving resizable containers (eg, PtrDynList). - include '->' iterator dereferencing - Only append/set non-const autoPtr references. This doesn't break existing code, but makes the intention more transparent.
-
- 19 Mar, 2018 1 commit
-
-
Mark Olesen authored
- can assist the compiler in producing tighter code.
-
- 05 Mar, 2018 1 commit
-
-
Mark Olesen authored
This class is largely a pre-C++11 holdover. It is now possible to simply use move construct/assignment directly. In a few rare cases (eg, polyMesh::resetPrimitives) it has been replaced by an autoPtr.
-
- 09 Jan, 2018 1 commit
-
-
Mark Olesen authored
- rationalize iterators, reduce code duplication, improve assignment behaviour, moveable construct and assignment.
-
- 27 Nov, 2017 1 commit
-
-
Mark Olesen authored
- support move construct/assignment for linked-lists themselves and when moving into a 'normal' list - better consistency with begin/end signatures and the various iterators. - for indirect linked-lists, provide iterator access to the underlying data element address: iter.get() vs &(iter()) - add standard '->' indirection for iterators (as per normal STL definitions)
-
- 05 Aug, 2016 1 commit
-
-
Henry Weller authored
Requires gcc version 4.7 or higher
-
- 06 May, 2016 1 commit
-
-
Henry Weller authored
consistency with UList/List and so that functions which take a UPtrList argument can also be called for PtrList.
-
- 10 Jan, 2016 1 commit
-
-
Henry Weller authored
-
- 08 Nov, 2015 1 commit
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- 16 Sep, 2015 1 commit
-
-
Henry Weller authored
-
- 04 Jul, 2013 2 commits
- 14 Jun, 2013 1 commit
-
-
mattijs authored
-
- 03 Apr, 2013 1 commit
-
-
mattijs authored
-
- 25 Mar, 2013 1 commit
-
-
mattijs authored
-
- 14 Aug, 2011 1 commit
-
-
Henry authored
-
- 19 Jan, 2011 1 commit
-
- 14 Jan, 2011 1 commit
-
-
Andrew Heather authored
-
- 07 Jan, 2011 1 commit
-
-
graham authored
-
- 05 Jan, 2011 2 commits
-
-
Andrew Heather authored
This reverts commit b18f6cc1.
-
graham authored
-
- 28 Jul, 2010 1 commit
-
-
graham authored
-
- 29 Mar, 2010 1 commit
-
-
Mark Olesen authored
-
- 15 Jan, 2010 1 commit
-
-
Andrew Heather authored
-
- 25 Nov, 2009 1 commit
-
-
Mark Olesen authored
- this builds on Mattijs' commit 968f0bbd but with a first() as well. - Added both to FixedList, IndirectList, UIndirectList and *PtrList and since they can certainly be useful there. Did not add to BiIndirectList, since I'm not sure what it should mean there. Did not add to PackedList, since it's not clear how useful they'd be yet in these contexts (and I'm not sure how it would interact with the iterator proxy implementation). - Note: STL defines front() and back() for these methods.
-
- 20 Jan, 2009 1 commit
-
-
Mark Olesen authored
- added STL-compatible resize() method. Should this be the primary entry point? - made [DS]LListBase end iterators private
-
- 09 Jan, 2009 1 commit
-
-
Mark Olesen authored
-
- 05 Jan, 2009 1 commit
-
-
Mark Olesen authored
- The capitalization is consistent with most other template classes, but more importantly frees up xfer() for use as method name without needing special treatment to avoid ambiguities. It seems reasonable to have different names for transfer(...) and xfer() methods, since the transfer is occuring in different directions. The xfer() method can thus replace the recently introduced zero-parameter transfer() methods. Other name candidates (eg, yield, release, etc.) were deemed too abstract.
-
- 02 Jan, 2009 1 commit
-
-
Mark Olesen authored
- this should provide a slightly more naturally means to using transfer constructors, for example labelList list2(list1.transfer()); vs. labelList list2(xferMove(list1)); - returns a plain list where appropriate (eg, DynamicList, SortableList) for example labelList list2(dynList1.transfer()); vs. labelList list2(xferMoveTo<labelList>(dynList1));
-
- 31 Dec, 2008 1 commit
-
-
Mark Olesen authored
-
- 25 Jun, 2008 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 15 Apr, 2008 1 commit
-
-
OpenFOAM-admin authored
-