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
|
@ -18,14 +18,13 @@ namespace sprout {
|
|||
// insert_n
|
||||
//
|
||||
template<std::size_t N, typename Container, typename T, typename... Values>
|
||||
struct insert_n {
|
||||
public:
|
||||
typedef typename sprout::container_transform_traits<
|
||||
struct insert_n
|
||||
: public sprout::container_transform_traits<
|
||||
Container
|
||||
>::template rebind_size<
|
||||
sprout::container_traits<Container>::static_size + (1 + sizeof...(Values)) * N
|
||||
>::type type;
|
||||
};
|
||||
>
|
||||
{};
|
||||
} // namespace result_of
|
||||
|
||||
namespace detail {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue