mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix explicit conversion: optional::operator bool, string::operator std::string, string_ref::operator std::string
This commit is contained in:
parent
e5efbfe340
commit
7f6081e0cc
5 changed files with 15 additions and 16 deletions
|
@ -294,7 +294,7 @@ namespace sprout {
|
|||
;
|
||||
}
|
||||
|
||||
SPROUT_CONSTEXPR operator bool() const SPROUT_NOEXCEPT {
|
||||
SPROUT_EXPLICIT_CONVERSION SPROUT_CONSTEXPR operator bool() const SPROUT_NOEXCEPT {
|
||||
return is_initialized();
|
||||
}
|
||||
SPROUT_CONSTEXPR bool operator!() const SPROUT_NOEXCEPT {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue