mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-07-02 14:04:09 +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
|
@ -264,7 +264,7 @@ namespace std {
|
|||
// tuple_size
|
||||
//
|
||||
template<>
|
||||
struct tuple_size<sprout::uuids::uuid> {
|
||||
class tuple_size<sprout::uuids::uuid> {
|
||||
public:
|
||||
typedef std::integral_constant<std::size_t, 16> type;
|
||||
SPROUT_STATIC_CONSTEXPR std::size_t value = type::value;
|
||||
|
@ -274,7 +274,7 @@ namespace std {
|
|||
// tuple_element
|
||||
//
|
||||
template<std::size_t I>
|
||||
struct tuple_element<I, sprout::uuids::uuid> {
|
||||
class tuple_element<I, sprout::uuids::uuid> {
|
||||
public:
|
||||
static_assert(I < 16, "tuple_element<>: index out of range");
|
||||
typedef sprout::uuids::uuid::value_type type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue