mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add const_iterator_cast
This commit is contained in:
parent
be0bc155d8
commit
cd72873c3a
7 changed files with 175 additions and 8 deletions
|
@ -120,7 +120,7 @@ namespace sprout {
|
|||
: init(true)
|
||||
, val(v)
|
||||
{}
|
||||
// !!! for T const&
|
||||
// !!! TEMP: for T const&
|
||||
// SPROUT_CONSTEXPR optional(T&& v)
|
||||
// : init(true)
|
||||
// , val(sprout::move(v))
|
||||
|
@ -145,7 +145,7 @@ namespace sprout {
|
|||
: init(cond)
|
||||
, val(cond ? holder_type(v) : holder_type())
|
||||
{}
|
||||
// !!! for T const&
|
||||
// !!! TEMP: for T const&
|
||||
// SPROUT_CONSTEXPR optional(bool cond, T&& v)
|
||||
// : init(cond)
|
||||
// , val(cond ? holder_type(sprout::move(v)) : holder_type())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue