mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
fix for constexpr disabled
add sprout::adaptors::sized
This commit is contained in:
parent
2b8a8662af
commit
bcd7674cc0
84 changed files with 1758 additions and 1365 deletions
|
@ -19,8 +19,8 @@ namespace sprout {
|
|||
struct div_t_traits<INT_T> { \
|
||||
public: \
|
||||
typedef DIV_T type; \
|
||||
static SPROUT_CONSTEXPR std::size_t offsetof_quot = offsetof(DIV_T, quot); \
|
||||
static SPROUT_CONSTEXPR std::size_t offsetof_rem = offsetof(DIV_T, rem); \
|
||||
SPROUT_STATIC_CONSTEXPR std::size_t offsetof_quot = offsetof(DIV_T, quot); \
|
||||
SPROUT_STATIC_CONSTEXPR std::size_t offsetof_rem = offsetof(DIV_T, rem); \
|
||||
}
|
||||
|
||||
SPROUT_DETAIL_DIV_T_TRAITS_IMPL(int, std::div_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue