]> https://gitweb.dealii.org/ - dealii.git/commit
Make memory_consumption(int) et al more generic.
authorDavid Wells <wellsd2@rpi.edu>
Fri, 2 Oct 2015 18:27:59 +0000 (14:27 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 2 Oct 2015 20:27:28 +0000 (16:27 -0400)
commit4c0502a53f5ca96d40d9c2b6c36ebeaf1b6057bf
treed559a5ea8add04c5f2a3fbd438f3785fe9f17595
parentc0b790d56a5e852b41e629c668df3ec1237826a7
Make memory_consumption(int) et al more generic.

I used SFINAE to write one implementation for memory_consumption() for
fundamental types, instead of the dozen or so present previously.
include/deal.II/base/memory_consumption.h
include/deal.II/base/std_cxx11/type_traits.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.