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

@ -41,7 +41,7 @@ namespace sprout {
T t_;
public:
lit_str_p() = default;
SPROUT_CONSTEXPR explicit lit_str_p(T const& t)
explicit SPROUT_CONSTEXPR lit_str_p(T const& t)
: t_(t)
{}
template<typename Context, typename Iterator>
@ -116,7 +116,7 @@ namespace sprout {
T t_;
public:
str_p() = default;
SPROUT_CONSTEXPR explicit str_p(T const& t)
explicit SPROUT_CONSTEXPR str_p(T const& t)
: t_(t)
{}
template<typename Context, typename Iterator>