mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
modify namespace result_of -> results
support C++14 type_traits
This commit is contained in:
parent
d386893a74
commit
bf0c7021cf
350 changed files with 2628 additions and 1912 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
namespace sprout {
|
||||
namespace fit {
|
||||
namespace result_of {
|
||||
namespace results {
|
||||
//
|
||||
// append
|
||||
//
|
||||
|
@ -26,17 +26,17 @@ namespace sprout {
|
|||
public:
|
||||
typedef sprout::sub_array<
|
||||
typename sprout::container_traits<
|
||||
typename sprout::fixed::result_of::append<Container, Input>::type
|
||||
typename sprout::fixed::results::append<Container, Input>::type
|
||||
>::internal_type
|
||||
> type;
|
||||
};
|
||||
} // namespace result_of
|
||||
} // namespace results
|
||||
|
||||
//
|
||||
// append
|
||||
//
|
||||
template<typename Container, typename Input>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::append<Container, Input>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::append<Container, Input>::type
|
||||
append(
|
||||
Container const& cont, typename sprout::container_traits<Container>::const_iterator pos,
|
||||
Input const& input
|
||||
|
@ -49,7 +49,7 @@ namespace sprout {
|
|||
);
|
||||
}
|
||||
template<typename Container, typename Input>
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::result_of::append<Container, Input>::type
|
||||
inline SPROUT_CONSTEXPR typename sprout::fit::results::append<Container, Input>::type
|
||||
append(
|
||||
Container const& cont, typename sprout::container_traits<Container>::difference_type pos,
|
||||
Input const& input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue