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

add ptr_fun, mem_fun, mem_fun_ref

This commit is contained in:
bolero-MURAKAMI 2012-04-11 23:28:29 +09:00
parent 4a8e938887
commit f86d17d0d4
46 changed files with 322 additions and 76 deletions

View file

@ -35,7 +35,7 @@ namespace sprout {
T t_;
public:
lit_char_p() = default;
SPROUT_CONSTEXPR explicit lit_char_p(T const& t)
explicit SPROUT_CONSTEXPR lit_char_p(T const& t)
: t_(t)
{}
template<typename Context, typename Iterator>
@ -94,7 +94,7 @@ namespace sprout {
T t_;
public:
char_p() = default;
SPROUT_CONSTEXPR explicit char_p(T const& t)
explicit SPROUT_CONSTEXPR char_p(T const& t)
: t_(t)
{}
template<typename Context, typename Iterator>