mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-18 15:24:11 +00:00
add ptr_fun, mem_fun, mem_fun_ref
This commit is contained in:
parent
4a8e938887
commit
f86d17d0d4
46 changed files with 322 additions and 76 deletions
|
@ -156,7 +156,7 @@ namespace sprout {
|
|||
std::size_t count_;
|
||||
public:
|
||||
repeat_p() = default;
|
||||
SPROUT_CONSTEXPR explicit repeat_p(Parser const& p, std::size_t count = -1)
|
||||
explicit SPROUT_CONSTEXPR repeat_p(Parser const& p, std::size_t count = -1)
|
||||
: expr_(sprout::weed::make_terminal_or_expr(p))
|
||||
, count_(count)
|
||||
{}
|
||||
|
@ -178,7 +178,7 @@ namespace sprout {
|
|||
private:
|
||||
std::size_t count_;
|
||||
public:
|
||||
SPROUT_CONSTEXPR explicit repeat_g(std::size_t count)
|
||||
explicit SPROUT_CONSTEXPR repeat_g(std::size_t count)
|
||||
: count_(count)
|
||||
{}
|
||||
template<typename Parser>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue