# optional **Repository Path**: cl-liao/optional ## Basic Information - **Project Name**: optional - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-05-17 - **Last Updated**: 2022-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README optional ======== A library for representing optional (nullable) objects in C++. ```cpp optional readInt(); // this function may return either an int or a not-an-int if (optional oi = readInt()) // did I get a real int cout << "my int is: " << *oi; // use my int else cout << "I have no int"; ``` For more information refer to the documentation provided with this library.