mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix coding-style
This commit is contained in:
parent
df3023db30
commit
5ce2cb023c
196 changed files with 1180 additions and 1787 deletions
|
@ -68,22 +68,26 @@ namespace sprout {
|
|||
};
|
||||
|
||||
template<typename Ret, typename T>
|
||||
inline SPROUT_CONSTEXPR sprout::mem_fun_t<Ret, T> mem_fun(Ret (T::*f)()) {
|
||||
inline SPROUT_CONSTEXPR sprout::mem_fun_t<Ret, T>
|
||||
mem_fun(Ret (T::*f)()) {
|
||||
return sprout::mem_fun_t<Ret, T>(f);
|
||||
}
|
||||
|
||||
template<typename Ret, typename T>
|
||||
inline SPROUT_CONSTEXPR sprout::const_mem_fun_t<Ret, T> mem_fun(Ret (T::*f)() const) {
|
||||
inline SPROUT_CONSTEXPR sprout::const_mem_fun_t<Ret, T>
|
||||
mem_fun(Ret (T::*f)() const) {
|
||||
return sprout::const_mem_fun_t<Ret, T>(f);
|
||||
}
|
||||
|
||||
template<typename Ret, typename T, typename Arg>
|
||||
inline SPROUT_CONSTEXPR sprout::mem_fun1_t<Ret, T, Arg> mem_fun(Ret (T::*f)(Arg)) {
|
||||
inline SPROUT_CONSTEXPR sprout::mem_fun1_t<Ret, T, Arg>
|
||||
mem_fun(Ret (T::*f)(Arg)) {
|
||||
return sprout::mem_fun1_t<Ret, T, Arg>(f);
|
||||
}
|
||||
|
||||
template<typename Ret, typename T, typename Arg>
|
||||
inline SPROUT_CONSTEXPR sprout::const_mem_fun1_t<Ret, T, Arg> mem_fun(Ret (T::*f)(Arg) const) {
|
||||
inline SPROUT_CONSTEXPR sprout::const_mem_fun1_t<Ret, T, Arg>
|
||||
mem_fun(Ret (T::*f)(Arg) const) {
|
||||
return sprout::const_mem_fun1_t<Ret, T, Arg>(f);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue