- 26 May, 2020 1 commit
-
-
Mark OLESEN authored
-
- 31 Oct, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 05 Nov, 2019 1 commit
-
-
Mark OLESEN authored
- this can help if using std algorithms that return a const reference such as std::min() does.
-
- 02 Oct, 2019 1 commit
-
-
Mark OLESEN authored
-
- 17 Jul, 2019 1 commit
-
-
Mark OLESEN authored
-
- 13 Mar, 2019 1 commit
-
-
Mark OLESEN authored
- PtrDynList support for move append list: can be used to concatenate pointer lists into a single one - include resize in PtrDynList squeezeNull as being a natural combination - support sorting operations for pointer lists (PtrListOps)
-
- 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
-
- 23 Jan, 2019 1 commit
-
-
Mark OLESEN authored
-
- 06 Feb, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 21 Jan, 2019 1 commit
-
-
Mark OLESEN authored
- moves any nullptr to the end of the list where they can be eliminated in a second step with resize()
-
- 15 Jan, 2019 1 commit
-
-
Mark OLESEN authored
- can still test as a bool or use to 'peek' at the content.
-
- 06 Nov, 2018 1 commit
-
-
Mark OLESEN authored
-
- 09 Oct, 2018 1 commit
-
-
Mark OLESEN authored
UPtrList::set(const label i, T* ptr); No-op if the new pointer value is identical to the current content. This avoid memory management issues.
-
- 25 Jul, 2018 1 commit
-
-
Mark OLESEN authored
- gets the pointer within the list.
-
- 24 Jul, 2018 1 commit
-
-
Mark OLESEN authored
- this eliminates a degree of ambiguity when resolving a read() method in inherited classes.
-
- 30 May, 2018 1 commit
-
-
Mark OLESEN authored
- resolve in favour of "inline explicit", which had marginally more uses and provides consistent prefixing for inline methods.
-
- 07 May, 2018 1 commit
-
-
Mark OLESEN authored
- catch (value) - forward declarations for operator<<() - non-const access to Reaction name() - spurious return statement
-
- 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.
-