mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
move textspr/sprout/* -> libs/<libname>/test/*
fix binomial_distribution
This commit is contained in:
parent
237ec76266
commit
0ceabb5b9b
107 changed files with 1228 additions and 840 deletions
|
@ -13,7 +13,7 @@ namespace sprout {
|
|||
// tuple_size
|
||||
//
|
||||
template<typename T1, typename T2>
|
||||
class tuple_size<sscrisk::cel::pair<T1, T2> >
|
||||
struct tuple_size<sscrisk::cel::pair<T1, T2> >
|
||||
: public std::integral_constant<std::size_t, 2>
|
||||
{};
|
||||
|
||||
|
@ -22,20 +22,20 @@ namespace sprout {
|
|||
//
|
||||
namespace detail {
|
||||
template<std::size_t I, typename T>
|
||||
class tuple_element_impl;
|
||||
struct tuple_element_impl;
|
||||
template<typename T1, typename T2>
|
||||
class tuple_element_impl<0, sscrisk::cel::pair<T1, T2> > {
|
||||
struct tuple_element_impl<0, sscrisk::cel::pair<T1, T2> > {
|
||||
public:
|
||||
typedef T1 type;
|
||||
};
|
||||
template<typename T1, typename T2>
|
||||
class tuple_element_impl<1, sscrisk::cel::pair<T1, T2> > {
|
||||
struct tuple_element_impl<1, sscrisk::cel::pair<T1, T2> > {
|
||||
public:
|
||||
typedef T2 type;
|
||||
};
|
||||
} // namespace detail
|
||||
template<std::size_t I, typename T1, typename T2>
|
||||
class tuple_element<I, sscrisk::cel::pair<T1, T2> >
|
||||
struct tuple_element<I, sscrisk::cel::pair<T1, T2> >
|
||||
: public sprout::tuples::detail::tuple_element_impl<I, sscrisk::cel::pair<T1, T2> >
|
||||
{};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue