Gromacs  2020.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
defaultinitializationallocator.h File Reference
#include <memory>
+ Include dependency graph for defaultinitializationallocator.h:

Description

Declares an allocator that can use default initialization instead of values initialization. This is useful for improving performance of resize() in standard vectors for buffers in performance critical code.

Author
Berk Hess hess@.nosp@m.kth..nosp@m.se

Classes

class  gmx::DefaultInitializationAllocator< T, A >
 Allocator adaptor that interposes construct() calls to convert value initialization into default initialization. More...