mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add macro SPROUT_NON_CONSTEXPR
This commit is contained in:
parent
6b1ef202d8
commit
1132d08f23
37 changed files with 209 additions and 204 deletions
|
@ -213,7 +213,7 @@ namespace sprout {
|
|||
SPROUT_CXX14_CONSTEXPR void assign(sprout::nullopt_t) SPROUT_NOEXCEPT {
|
||||
destroy();
|
||||
}
|
||||
void assign(optional const& v) {
|
||||
SPROUT_CXX14_CONSTEXPR void assign(optional const& v) {
|
||||
optional temp(v);
|
||||
temp.swap(*this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue