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

@ -338,10 +338,10 @@ namespace sprout {
SPROUT_CONSTEXPR compressed_pair(first_param_type x, second_param_type y)
: base_type(x, y)
{}
SPROUT_CONSTEXPR explicit compressed_pair(first_param_type x)
explicit SPROUT_CONSTEXPR compressed_pair(first_param_type x)
: base_type(x)
{}
SPROUT_CONSTEXPR explicit compressed_pair(second_param_type y)
explicit SPROUT_CONSTEXPR compressed_pair(second_param_type y)
: base_type(y)
{}
first_reference first() {
@ -402,7 +402,7 @@ namespace sprout {
SPROUT_CONSTEXPR compressed_pair(first_param_type x, second_param_type y)
: base_type(x, y)
{}
SPROUT_CONSTEXPR explicit compressed_pair(first_param_type x)
explicit SPROUT_CONSTEXPR compressed_pair(first_param_type x)
: base_type(x)
{}
first_reference first() {