fix inline

add container/indexes.hpp
add tuple/indexes.hpp
This commit is contained in:
bolero-MURAKAMI 2012-04-04 22:23:41 +09:00
parent ba6482d1ec
commit c6bd230ee4
340 changed files with 1087 additions and 979 deletions

View file

@ -31,7 +31,7 @@ namespace sprout {
namespace detail {
template<typename Result, typename ContainerInputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size == sizeof...(Args),
Result
>::type join_impl(
@ -40,7 +40,7 @@ namespace sprout {
Args const&... args
);
template<typename Result, typename ContainerInputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size != sizeof...(Args),
Result
>::type join_impl(
@ -49,7 +49,7 @@ namespace sprout {
Args const&... args
);
template<typename Result, typename ContainerInputIterator, typename InputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size == sizeof...(Args),
Result
>::type join_impl_1(
@ -63,7 +63,7 @@ namespace sprout {
return sprout::make<Result>(args...);
}
template<typename Result, typename ContainerInputIterator, typename InputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size != sizeof...(Args),
Result
>::type join_impl_1(
@ -80,7 +80,7 @@ namespace sprout {
;
}
template<typename Result, typename ContainerInputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size == sizeof...(Args),
Result
>::type join_impl(
@ -92,7 +92,7 @@ namespace sprout {
return sprout::make<Result>(args...);
}
template<typename Result, typename ContainerInputIterator, typename... Args>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
sprout::container_traits<Result>::static_size != sizeof...(Args),
Result
>::type join_impl(
@ -111,7 +111,7 @@ namespace sprout {
// join
//
template<typename ContainerContainer>
SPROUT_CONSTEXPR inline typename sprout::algorithm::result_of::join<ContainerContainer>::type join(
inline SPROUT_CONSTEXPR typename sprout::algorithm::result_of::join<ContainerContainer>::type join(
ContainerContainer const& cont_cont
)
{

View file

@ -39,7 +39,7 @@ namespace sprout {
namespace detail {
template<typename Result, typename ContainerIterator, typename Separator, typename Container>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
(sprout::container_traits<Container>::static_size == sprout::container_traits<Result>::static_size),
Result
>::type join2_impl_1(
@ -52,7 +52,7 @@ namespace sprout {
return current;
}
template<typename Result, typename ContainerIterator, typename Separator, typename Container>
SPROUT_CONSTEXPR inline typename std::enable_if<
inline SPROUT_CONSTEXPR typename std::enable_if<
(sprout::container_traits<Container>::static_size < sprout::container_traits<Result>::static_size),
Result
>::type join2_impl_1(
@ -70,7 +70,7 @@ namespace sprout {
);
}
template<typename Result, typename ContainerIterator, typename Separator>
SPROUT_CONSTEXPR inline Result join2_impl(
inline SPROUT_CONSTEXPR Result join2_impl(
ContainerIterator first,
ContainerIterator last,
Separator const& separator
@ -91,7 +91,7 @@ namespace sprout {
// join2
//
template<typename ContainerContainer, typename Separator>
SPROUT_CONSTEXPR inline typename sprout::algorithm::result_of::join2<ContainerContainer, Separator>::type join2(
inline SPROUT_CONSTEXPR typename sprout::algorithm::result_of::join2<ContainerContainer, Separator>::type join2(
ContainerContainer const& cont_cont,
Separator const& separator
)