Gromacs  2020.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
optional.h File Reference
#include <nonstd/optional.hpp>
+ Include dependency graph for optional.h:
+ This graph shows which files directly or indirectly include this file:


Provides C++14-compatible implementation of std::optional.

This imports the implementation found in src/external from

There is no Doxygen for this code, but it is intended to conform to that of std::optional, so look in the usual C++17 documentation for std::optional for that.

Remove when requiring C++17, which has a standardized version of std::optional.
Mark Abraham