erase warnings for clang3.2

This commit is contained in:
bolero-MURAKAMI 2012-11-15 18:36:55 +09:00
parent d00e971abe
commit 225c11b505
14 changed files with 108 additions and 22 deletions

View file

@ -43,6 +43,10 @@ namespace sprout {
} // namespace sprout
namespace std {
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
//
// tuple_size
//
@ -58,6 +62,9 @@ namespace std {
struct tuple_element<I, sprout::sub_array<Container> >
: public std::tuple_element<I, typename std::remove_reference<Container>::type>
{};
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
} // namespace std
#endif // #ifndef SPROUT_SUB_ARRAY_TUPLE_HPP