Changeset 11673 for code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/is_callable.h
- Timestamp:
- Dec 14, 2017, 4:04:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/is_callable.h
r11519 r11673 4 4 #include <type_traits> 5 5 6 // See https://stackoverflow.com/a/15396757/7421666 6 /** 7 * @brief Implementation of IsCallable 8 */ 7 9 template<typename T> 8 10 struct IsCallableImpl … … 27 29 }; 28 30 29 // Checks if a type is callable (has an 'operator()'). This will not work for 30 // normal functions without modifications, but we don't need that case anyway. 31 /** 32 * @brief Checks if a type is callable 33 * 34 * Callable means here, that it has has an 'operator()'. This will not work for 35 * normal functions without modifications, but we don't need that case anyway. 36 * 37 * See https://stackoverflow.com/a/15396757/7421666 38 */ 31 39 template<typename T> 32 40 struct IsCallable
Note: See TracChangeset
for help on using the changeset viewer.