Mark Olesen
327c43f3e8
ENH: identityOp as equivalent to std::identity (C++20)
...
- similar to how noOp was defined, but with perfect forwarding
STYLE: combine Swap into stdFoam
STYLE: capitalize FileOp, NegateOp template parameters
2022-03-13 22:35:18 +01:00
Mark Olesen
8884d58a52
STYLE: fix/correct some tests. Remove useless tests
2021-07-05 14:55:37 +02:00
OpenFOAM bot
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
OpenFOAM bot
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
Mark Olesen
ed94a2714d
STYLE: use HashTable iterator 'val()' method instead of 'object()'
2019-01-18 16:26:50 +01:00
Mark Olesen
915e8c9f35
ENH: remove Foam::Swap specializations for HashSet, HashTable
...
- without these will use the normal move construct + move assign.
This is similarly efficient, but avoids the inadvertently having the
incorrect Swap being used for derived classes.
STYLE: remove unused xfer methods for HashTable, HashSet
- unneeded since move construct and move assignment are possible
2018-01-25 12:13:16 +01:00
Mark Olesen
03b287ed24
COMP: adjust tests to compile with current code base
2018-02-20 17:24:08 +01:00
Mark Olesen
39ee5d5079
ENH: add HashTable += operation (combines HashTables)
...
- adjust return values of HashSet operators.
2018-01-23 16:35:43 +01:00
Mark Olesen
053a648ee6
ENH: improvements to HashTable internals
...
- make single-parameter construct (label) explicit
- consolidate iterators
- slightly reduced overhead for some HashSet types
- improved resizing behaviour
- compact output for empty Ptr hashes
2017-10-31 08:46:47 +01:00