mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
changed type_set.h to use cstddef so that size_t would be consistent across the library
This commit is contained in:
parent
cd20805b3e
commit
b336346467
@ -28,6 +28,7 @@
|
|||||||
#define SQLPP11_DETAIL_TYPE_SET_H
|
#define SQLPP11_DETAIL_TYPE_SET_H
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include <cstddef>
|
||||||
#include <sqlpp11/wrong.h>
|
#include <sqlpp11/wrong.h>
|
||||||
#include <sqlpp11/logic.h>
|
#include <sqlpp11/logic.h>
|
||||||
|
|
||||||
@ -60,7 +61,7 @@ namespace sqlpp
|
|||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using size = std::integral_constant<std::size_t, sizeof...(Elements)>;
|
using size = std::integral_constant<size_t, sizeof...(Elements)>;
|
||||||
using _is_type_set = std::true_type;
|
using _is_type_set = std::true_type;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user