mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix darkroom whitted_style
fix cbind
This commit is contained in:
parent
744146ae38
commit
6b1efc8a15
8 changed files with 128 additions and 22 deletions
|
@ -560,12 +560,12 @@ namespace sprout {
|
|||
template<typename F, typename... BoundArgs>
|
||||
inline SPROUT_CONSTEXPR typename sprout::detail::bind_helper<F, BoundArgs...>::type const
|
||||
cbind(F&& f, BoundArgs&&... args) {
|
||||
sprout::bind(sprout::forward<F>(f), sprout::forward<BoundArgs>(args)...);
|
||||
return sprout::bind(sprout::forward<F>(f), sprout::forward<BoundArgs>(args)...);
|
||||
}
|
||||
template<typename R, typename F, typename... BoundArgs>
|
||||
inline SPROUT_CONSTEXPR typename sprout::detail::bindres_helper<R, F, BoundArgs...>::type const
|
||||
cbind(F&& f, BoundArgs&&... args) {
|
||||
sprout::bind<R>(sprout::forward<F>(f), sprout::forward<BoundArgs>(args)...);
|
||||
return sprout::bind<R>(sprout::forward<F>(f), sprout::forward<BoundArgs>(args)...);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue