cmake US_HAVE_STD_FUNCTION examples

MITK/MITK Modules/CppMicroServices/CMakeLists.txt :330

CHECK_CXX_SOURCE_COMPILES("#include <functional>\nint main() { std::function<int(void)> f(main); return 0; }"
                            US_HAVE_STD_FUNCTION)

MITK/MITK Modules/CppMicroServices/CMakeLists.txt :335

unset(US_HAVE_STD_FUNCTION CACHE)

MITK/MITK Modules/CppMicroServices/CMakeLists.txt :338

CHECK_CXX_SOURCE_COMPILES("#include <tr1/functional>\nint main() { std::function<int(void)> f(main); return 0; }"
                            US_HAVE_STD_FUNCTION)