Mark Olesen
ac317699d8
ENH: additional HashTable emplace/insert/set methods ( #1286 )
...
- support move insert/set and emplace insertion.
These adjustments can be used for improved memory efficiency, and
allow hash tables of non-copyable objects (eg, std::unique_ptr).
- extend special HashTable output treatment to include pointer-like
objects such as autoPtr and unique_ptr.
ENH: HashTable::at() method with checking. Fatal if entry does not exist.
2019-05-06 08:34:39 +02:00
Mark Olesen
59da4cf56d
STYLE: use uintptr_t cast instead of long when reporting addresses
2019-04-29 08:15:48 +02:00
Mark Olesen
39c91d8440
ENH: support HashTable iterator pointer dereference
2019-04-06 16:00:21 +02:00
OpenFOAM bot
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
mattijs
3b6027d1be
ENH: test: make test apps compile. Fixes #876 .
2018-06-14 15:14:14 +01:00
Mark Olesen
03b287ed24
COMP: adjust tests to compile with current code base
2018-02-20 17:24:08 +01:00
Henry Weller
076c4c6e82
HashTable: Added C++11 initializer_list constructor
...
e.g.
HashTable<label, string> table1
{
{"kjhk", 10},
{"kjhk2", 12}
};
HashTable<label, label, Hash<label>> table2
{
{3, 10},
{5, 12},
{7, 16}
};
2016-08-05 22:30:26 +01:00
Henry Weller
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
Mark Olesen
129695a950
STYLE: adjust executable names for some tests
2011-01-19 14:29:56 +01:00