Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Files
C++ "standard" library compatibility helpers.
+ Collaboration diagram for C++ "standard" library compatibility helpers.:

Description

Provide uniform interface to selected C++ standard and popular library features.

For some features not available on all platforms supported by GROMACS, provides back-ports or mappings to available standard library implementations as appropriate.

Backported implementations of features from newer C++ standards, or from community libraries such as Abseil or the Guidelines Support Library may also be considered for inclusion here. We generally expect that features included here are either already standard, proposed for the standard, or so useful in solving a frequently occuring problem that their use is not controversial.

gmx::compat::make_unique

Provide a trivially adapted implementation of the C++ standard library make_unique function template. When All supported GROMACS build platforms provide std::make_unique, this should be removed.

Files

file  make_unique.h
 Provides template gmx::compat::make_unique.
 
file  pointers.h
 Provides ported functions/classes from gsl/pointers.
 
file  make_unique.cpp
 Tests for gmx::compat::make_unique.
 
file  pointers.cpp
 Tests for pointers.h, e.g. gmx::compat::not_null.
 
file  utility.h
 Provides backported functions/classes from utility.