staticlib_support  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Classes | Namespaces | Functions
optional.hpp File Reference
#include <type_traits>
#include "staticlib/config.hpp"
#include "staticlib/support/exception.hpp"

Go to the source code of this file.

Classes

class  staticlib::support::bad_optional_access_exception
 Optional-specific exception. More...
class  staticlib::support::optional< T >
 Basic implementation of optional, reference impl ( https://github.com/akrzemi1/Optional ) cannot be used, as it doesn't support MSVC2013. More...

Namespaces

namespace  staticlib
namespace  staticlib::support

Functions

template<typename T >
optional< T > staticlib::support::make_optional (T &&value)
 Helper function, constructs optional instance.