martinmoene / optional-lite

optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
403 stars 45 forks source link

Fix VS 2013 build, fix clang struct/class mismatch warnings #7

Closed LAJW closed 7 years ago

LAJW commented 7 years ago

Fixes -Wall -Wpedantic -Werror Clang builds stopping at struct/class hash mismatch.

Fixes VS 2013 builds, as it doesn't support multiline constexpr functions.