Sometimes? You just don't like C++. At all.

This commit is contained in:
ThePhD 2016-11-01 06:03:54 -04:00
parent c2c9ccf89c
commit 0a165dc5b4
2 changed files with 8 additions and 8 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2016-11-01 09:57:31.250938 UTC // Generated 2016-11-01 10:03:33.629309 UTC
// This header was generated with sol v2.14.12 (revision d3cb904) // This header was generated with sol v2.14.12 (revision c2c9ccf)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -2342,7 +2342,7 @@ namespace sol {
constexpr T const& value() const& { constexpr T const& value() const& {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
// we can't abort here // we can't abort here
// because there's no constexpr abort // because there's no constexpr abort
@ -2354,7 +2354,7 @@ namespace sol {
OPTIONAL_MUTABLE_CONSTEXPR T& value() & { OPTIONAL_MUTABLE_CONSTEXPR T& value() & {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
: *(T*)nullptr; : *(T*)nullptr;
#else #else
@ -2364,7 +2364,7 @@ namespace sol {
OPTIONAL_MUTABLE_CONSTEXPR T&& value() && { OPTIONAL_MUTABLE_CONSTEXPR T&& value() && {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
// we can't abort here // we can't abort here
// because there's no constexpr abort // because there's no constexpr abort

View File

@ -570,7 +570,7 @@ namespace sol {
constexpr T const& value() const& { constexpr T const& value() const& {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
// we can't abort here // we can't abort here
// because there's no constexpr abort // because there's no constexpr abort
@ -582,7 +582,7 @@ namespace sol {
OPTIONAL_MUTABLE_CONSTEXPR T& value() & { OPTIONAL_MUTABLE_CONSTEXPR T& value() & {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
: *(T*)nullptr; : *(T*)nullptr;
#else #else
@ -592,7 +592,7 @@ namespace sol {
OPTIONAL_MUTABLE_CONSTEXPR T&& value() && { OPTIONAL_MUTABLE_CONSTEXPR T&& value() && {
return initialized() ? return initialized() ?
return contained_val() contained_val()
#ifdef SOL_NO_EXCEPTIONS #ifdef SOL_NO_EXCEPTIONS
// we can't abort here // we can't abort here
// because there's no constexpr abort // because there's no constexpr abort