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
|
@ -169,14 +169,14 @@ namespace sprout {
|
|||
namespace tuples {
|
||||
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, sprout::pair<T1, T2> > {
|
||||
struct tuple_element_impl<0, sprout::pair<T1, T2> > {
|
||||
public:
|
||||
typedef T1 type;
|
||||
};
|
||||
template<typename T1, typename T2>
|
||||
class tuple_element_impl<1, sprout::pair<T1, T2> > {
|
||||
struct tuple_element_impl<1, sprout::pair<T1, T2> > {
|
||||
public:
|
||||
typedef T2 type;
|
||||
};
|
||||
|
@ -189,7 +189,7 @@ namespace std {
|
|||
// tuple_size
|
||||
//
|
||||
template<typename T1, typename T2>
|
||||
class tuple_size<sprout::pair<T1, T2> >
|
||||
struct tuple_size<sprout::pair<T1, T2> >
|
||||
: public std::integral_constant<std::size_t, 2>
|
||||
{};
|
||||
|
||||
|
@ -197,7 +197,7 @@ namespace std {
|
|||
// tuple_element
|
||||
//
|
||||
template<std::size_t I, typename T1, typename T2>
|
||||
class tuple_element<I, sprout::pair<T1, T2> >
|
||||
struct tuple_element<I, sprout::pair<T1, T2> >
|
||||
: public sprout::tuples::detail::tuple_element_impl<I, sprout::pair<T1, T2> >
|
||||
{};
|
||||
} // namespace std
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue