Gromacs  2020.4
 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:

Description

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

This imports the implementation found in src/external from https://github.com/martinmoene/optional-lite.git.

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.

Todo:
Remove when requiring C++17, which has a standardized version of std::optional.
Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m