1
0
Fork 0
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:
bolero-MURAKAMI 2014-01-05 22:20:27 +09:00
parent be0bc155d8
commit cd72873c3a
7 changed files with 175 additions and 8 deletions

View file

@ -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())