CMD + K

optional-lite

Community

A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library

Installation

To install this package, run one of the following:

Conda
$conda install anaconda-python-gte-3.10::optional-lite

Usage Tracking

3.5.0
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

optional lite is a single-file header-only library to represent optional (nullable) objects and pass them by value. The library aims to provide a C++17-like optional for use with C++98 and later. If available, std::optional is used. There's also a simpler version, optional bare. Unlike optional lite, optional bare is limited to default-constructible and copyable types.

About

Summary

A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library

Last Updated

Mar 31, 2025 at 23:05

License

BSL-1.0

Total Downloads

1

Version Downloads

1

Supported Platforms

linux-64