mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix tuple construction, darkroom rgb & vector3d construction
This commit is contained in:
parent
c78e1d0e6d
commit
2e8b85e90c
53 changed files with 262 additions and 196 deletions
|
@ -14,14 +14,14 @@ namespace sprout {
|
|||
// erase
|
||||
//
|
||||
template<typename Container>
|
||||
struct erase {
|
||||
static_assert(sprout::container_traits<Container>::static_size >= 1, "static_size >= 1");
|
||||
public:
|
||||
typedef typename sprout::container_transform_traits<
|
||||
struct erase
|
||||
: public sprout::container_transform_traits<
|
||||
Container
|
||||
>::template rebind_size<
|
||||
sprout::container_traits<Container>::static_size - 1
|
||||
>::type type;
|
||||
>
|
||||
{
|
||||
static_assert(sprout::container_traits<Container>::static_size >= 1, "static_size >= 1");
|
||||
};
|
||||
} // namespace result_of
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue