mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix for clang 3.2
This commit is contained in:
parent
3a999dd70c
commit
b67695ec6b
28 changed files with 133 additions and 75 deletions
|
@ -11,7 +11,7 @@ namespace std {
|
|||
// tuple_size
|
||||
//
|
||||
template<typename T, std::size_t N, typename Traits>
|
||||
struct tuple_size<sprout::basic_string<T, N, Traits> >
|
||||
class tuple_size<sprout::basic_string<T, N, Traits> >
|
||||
: public std::integral_constant<std::size_t, N>
|
||||
{};
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace std {
|
|||
// tuple_element
|
||||
//
|
||||
template<std::size_t I, typename T, std::size_t N, typename Traits>
|
||||
struct tuple_element<I, sprout::basic_string<T, N, Traits> > {
|
||||
class tuple_element<I, sprout::basic_string<T, N, Traits> > {
|
||||
public:
|
||||
static_assert(I < N, "tuple_element<>: index out of range");
|
||||
typedef T type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue