1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix defaulted default constructor

This commit is contained in:
bolero-MURAKAMI 2014-01-14 00:18:06 +09:00
parent 5aacc92a14
commit 7640eca894
82 changed files with 139 additions and 120 deletions

View file

@ -62,7 +62,7 @@ namespace sprout {
;
}
public:
as_array_p() = default;
SPROUT_CONSTEXPR as_array_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
explicit SPROUT_CONSTEXPR as_array_p(
Parser const& p
)

View file

@ -62,7 +62,7 @@ namespace sprout {
;
}
public:
as_tuple_p() = default;
SPROUT_CONSTEXPR as_tuple_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
explicit SPROUT_CONSTEXPR as_tuple_p(
Parser const& p
)

View file

@ -56,7 +56,7 @@ namespace sprout {
;
}
public:
omit_p() = default;
SPROUT_CONSTEXPR omit_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
explicit SPROUT_CONSTEXPR omit_p(
Parser const& p
)

View file

@ -166,7 +166,7 @@ namespace sprout {
expr_type expr_;
std::size_t count_;
public:
repeat_p() = default;
SPROUT_CONSTEXPR repeat_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
explicit SPROUT_CONSTEXPR repeat_p(Parser const& p, std::size_t count = -1)
: expr_(sprout::weed::make_terminal_or_expr(p))
, count_(count)

View file

@ -57,7 +57,7 @@ namespace sprout {
;
}
public:
replace_p() = default;
SPROUT_CONSTEXPR replace_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
SPROUT_CONSTEXPR replace_p(
Parser const& p,
value_type const& value