Homec4science

improved version of templated mallocs

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Mar 5 2011, 21:55.

Description

improved version of templated mallocs

now the data type of the allocated object can always
be inferred from the first argument. these mallocs will
work on all simple data types that don't run constructors.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Mar 5 2011, 21:55
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPSbd2f4681986f: converted allocators to template functions.
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS49aa1d8e9ccf: improved version of templated mallocs (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Mar 5 2011, 21:55