mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
adapt rational tuple and container interface
This commit is contained in:
parent
35305c18fb
commit
a7532930e3
5 changed files with 277 additions and 0 deletions
|
@ -109,6 +109,19 @@ namespace sprout {
|
|||
return copied_type(SPROUT_FORWARD(Args, args)...);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// container_transform_traits
|
||||
//
|
||||
template<typename T>
|
||||
struct container_transform_traits<std::complex<T> > {
|
||||
public:
|
||||
template<typename Type>
|
||||
struct rebind_type {
|
||||
public:
|
||||
typedef std::complex<Type> type;
|
||||
};
|
||||
};
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_CONTAINER_STD_COMPLEX_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue