From 53416825033929f9ecc48e6fd65fdc58226aa4ba Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 14 Dec 2013 04:42:53 -0500 Subject: [PATCH] Change tabs to spaces --- sol/function.hpp | 2 +- sol/traits.hpp | 80 ++++++++++++++++++++++++------------------------ 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/sol/function.hpp b/sol/function.hpp index 2707e97b..f037fd07 100644 --- a/sol/function.hpp +++ b/sol/function.hpp @@ -63,7 +63,7 @@ public: template void operator()(Args&&... args) { - call<>(std::forward(args)...); + call<>(std::forward(args)...); } template diff --git a/sol/traits.hpp b/sol/traits.hpp index 26d71634..994dff81 100644 --- a/sol/traits.hpp +++ b/sol/traits.hpp @@ -73,58 +73,58 @@ struct function_traits; template struct function_traits { - static const std::size_t arity = sizeof...(Args); - static const bool is_member_function = true; - typedef std::tuple arg_tuple_type; - typedef types args_type; - typedef R(T::* function_pointer_type)(Args...); - typedef typename std::remove_pointer::type function_type; - typedef R(*free_function_pointer_type)(Args...); - typedef R return_type; - template - using arg = typename std::tuple_element::type; + static const std::size_t arity = sizeof...(Args); + static const bool is_member_function = true; + typedef std::tuple arg_tuple_type; + typedef types args_type; + typedef R(T::* function_pointer_type)(Args...); + typedef typename std::remove_pointer::type function_type; + typedef R(*free_function_pointer_type)(Args...); + typedef R return_type; + template + using arg = typename std::tuple_element::type; }; template struct function_traits { - static const std::size_t arity = sizeof...(Args); - static const bool is_member_function = true; - typedef std::tuple arg_tuple_type; - typedef types args_type; - typedef R(T::* function_pointer_type)(Args...); - typedef typename std::remove_pointer::type function_type; - typedef R(*free_function_pointer_type)(Args...); - typedef R return_type; - template - using arg = typename std::tuple_element::type; + static const std::size_t arity = sizeof...(Args); + static const bool is_member_function = true; + typedef std::tuple arg_tuple_type; + typedef types args_type; + typedef R(T::* function_pointer_type)(Args...); + typedef typename std::remove_pointer::type function_type; + typedef R(*free_function_pointer_type)(Args...); + typedef R return_type; + template + using arg = typename std::tuple_element::type; }; template struct function_traits { - static const std::size_t arity = sizeof...(Args); - static const bool is_member_function = false; - typedef std::tuple arg_tuple_type; - typedef types args_type; - typedef R(function_type)(Args...); - typedef R(*function_pointer_type)(Args...); - typedef R(*free_function_pointer_type)(Args...); - typedef R return_type; - template - using arg = typename std::tuple_element::type; + static const std::size_t arity = sizeof...(Args); + static const bool is_member_function = false; + typedef std::tuple arg_tuple_type; + typedef types args_type; + typedef R(function_type)(Args...); + typedef R(*function_pointer_type)(Args...); + typedef R(*free_function_pointer_type)(Args...); + typedef R return_type; + template + using arg = typename std::tuple_element::type; }; template struct function_traits { - static const std::size_t arity = sizeof...(Args); - static const bool is_member_function = false; - typedef std::tuple arg_tuple_type; - typedef types args_type; - typedef R(function_type)(Args...); - typedef R(*function_pointer_type)(Args...); - typedef R(*free_function_pointer_type)(Args...); - typedef R return_type; - template - using arg = typename std::tuple_element::type; + static const std::size_t arity = sizeof...(Args); + static const bool is_member_function = false; + typedef std::tuple arg_tuple_type; + typedef types args_type; + typedef R(function_type)(Args...); + typedef R(*function_pointer_type)(Args...); + typedef R(*free_function_pointer_type)(Args...); + typedef R return_type; + template + using arg = typename std::tuple_element::type; }; } // sol