mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add test optional
This commit is contained in:
parent
f9d8908f95
commit
5aa4cf8cbe
5 changed files with 338 additions and 13 deletions
|
@ -138,8 +138,10 @@ namespace sprout {
|
|||
private:
|
||||
holder_type holder_;
|
||||
public:
|
||||
value_holder() = default;
|
||||
value_holder(value_holder const&) = default;
|
||||
SPROUT_CONSTEXPR value_holder()
|
||||
: holder_()
|
||||
{}
|
||||
SPROUT_CONSTEXPR value_holder(value_holder const&) = default;
|
||||
explicit SPROUT_CONSTEXPR value_holder(param_type p)
|
||||
: holder_(helper_type::hold(p))
|
||||
{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue