mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
rewrite sprout::algorithm::join performance
This commit is contained in:
parent
0ceabb5b9b
commit
1ea9d30e2a
145 changed files with 1359 additions and 364 deletions
|
@ -34,7 +34,7 @@ namespace sprout {
|
|||
typedef typename T::first_argument_type first_argument_type;
|
||||
typedef typename T::second_argument_type second_argument_type;
|
||||
};
|
||||
template<typename T>
|
||||
template<typename T>
|
||||
struct reference_wrapper_base_impl<true, true, T>
|
||||
: public sprout::weak_result_type<T>
|
||||
{
|
||||
|
@ -152,9 +152,9 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR T& get() const SPROUT_NOEXCEPT {
|
||||
return *t_;
|
||||
}
|
||||
SPROUT_CONSTEXPR T* get_pointer() const SPROUT_NOEXCEPT {
|
||||
return t_;
|
||||
}
|
||||
SPROUT_CONSTEXPR T* get_pointer() const SPROUT_NOEXCEPT {
|
||||
return t_;
|
||||
}
|
||||
// invocation
|
||||
template<typename... Args>
|
||||
SPROUT_CONSTEXPR typename std::result_of<T& (Args&&...)>::type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue